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

put gloo initialization log to file (#27969)

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