[Fix] Fix duplicated logging messages (#1524)

This commit is contained in:
Zhuohan Li 2023-10-31 09:04:47 -07:00 committed by GitHub
parent 7013a80170
commit 7b895c5976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,4 +52,5 @@ def init_logger(name: str):
logger = logging.getLogger(name)
logger.setLevel(logging.DEBUG)
logger.addHandler(_default_handler)
logger.propagate = False
return logger