[Feature] implement log channel separation and request log level system (#7190)

* feat: implement log channel separation and request log level system

* fix: log system improvements based on review

* add request_id to error logs, use RequestLogLevel enum, and unify logger implementation from utils to logger module
This commit is contained in:
zhouchong
2026-04-16 15:13:05 +08:00
committed by GitHub
parent 29495b2cf1
commit 6e16438a57
52 changed files with 1956 additions and 639 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ class TestSampleFramesQwen(unittest.TestCase):
def test_fps_warning_when_nframes_exceeds_total(self):
"""fps so high that computed num_frames > total → warning logged."""
with self.assertLogs(level="WARNING"):
with self.assertLogs(logger="fastdeploy.main", level="WARNING"):
sample_frames_qwen(2, 4, 100, {"num_of_frame": 10, "fps": 1.0}, fps=100.0)
def test_divisible_by_4_correction(self):