From ff0ebefc1e82fb66eb128a75fe96140a7973b618 Mon Sep 17 00:00:00 2001 From: lilong12 Date: Fri, 16 Oct 2020 14:04:07 +0800 Subject: [PATCH] put gloo initialization log to file (#27969) * 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 4f42ffc0b3..d053040882 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