1import logging 2from typing import List 3 4from torch.distributed.logging_handlers import _log_handlers 5 6 7__all__: List[str] = [] 8 9DCP_LOGGER_NAME = "dcp_logger" 10 11_log_handlers.update( 12 { 13 DCP_LOGGER_NAME: logging.NullHandler(), 14 } 15) 16