[Feature] logger refactor (#466)

Signed-off-by: dengyunyang <584797741@qq.com>
Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
dengyunyangandHongsheng Liu authored and GitHub committed 2025-12-26 08:42:06 +08:00
1 parent b3d212e985
commit a500ca1f28
5 files changed
+310 -645

No files matched your search

+1 -1
View File
@@ -314,7 +314,7 @@ def _setup_log_mocks(monkeypatch):
# Mock OrchestratorMetrics to be a simple class that doesn't require file operations
class _FakeOrchestratorMetrics:
def __init__(self, num_stages, enable_stats, stats_file, overall_stats_file, wall_start_ts):
def __init__(self, num_stages, enable_stats, wall_start_ts):
self.num_stages = num_stages
self.enable_stats = enable_stats
self.stage_first_ts = [None] * num_stages