[diffusion] log: fix wrong use of suppress_other_loggers (#15534)

This commit is contained in:
Mick
2025-12-20 23:43:55 +08:00
committed by GitHub
parent c6ca1b3afc
commit 41bd76e18b
7 changed files with 17 additions and 77 deletions

View File

@@ -23,8 +23,8 @@ from sglang.multimodal_gen.runtime.server_args import PortArgs, ServerArgs
from sglang.multimodal_gen.runtime.utils.common import set_cuda_arch
from sglang.multimodal_gen.runtime.utils.logging_utils import (
configure_logger,
globally_suppress_loggers,
init_logger,
suppress_other_loggers,
)
from sglang.multimodal_gen.runtime.utils.perf_logger import (
PerformanceLogger,
@@ -174,7 +174,7 @@ def run_scheduler_process(
Ranks > 0 act as slaves, waiting for tasks from the master.
"""
configure_logger(server_args)
suppress_other_loggers()
globally_suppress_loggers()
set_cuda_arch()
port_args = PortArgs.from_server_args(server_args)