mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 17:11:21 +08:00
[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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user