From 316c97c7eb1e5ef60e0809d17e722275eb664795 Mon Sep 17 00:00:00 2001 From: lilong12 Date: Mon, 19 Oct 2020 19:27:01 +0800 Subject: [PATCH] put gloo initialization log to file (#27969) (#28076) * update, test=develop --- python/paddle/distributed/fleet/utils/http_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/distributed/fleet/utils/http_server.py b/python/paddle/distributed/fleet/utils/http_server.py index 4f42ffc0b3d..d053040882d 100644 --- a/python/paddle/distributed/fleet/utils/http_server.py +++ b/python/paddle/distributed/fleet/utils/http_server.py @@ -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 -- GitLab