未验证 提交 316c97c7 编写于 作者: L lilong12 提交者: GitHub

put gloo initialization log to file (#27969) (#28076)

* update, test=develop
上级 46a1f69b
......@@ -36,6 +36,7 @@ def get_logger(name, level, fmt):
formatter = logging.Formatter(fmt=fmt)
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.propagate = False
return logger
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册