未验证 提交 b17bcb7f 编写于 作者: M megemini 提交者: GitHub

[Fix] 修改logger名称避免冲突 (#56687)

上级 971945ab
......@@ -23,7 +23,9 @@ import sys
import time
import typing
logger = logging.getLogger()
logger = logging.getLogger(__name__)
logger.propagate = False
if logger.handlers:
console = logger.handlers[
0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册