From 2eb8c35244c5dd077293257a285b53dc0d16fea9 Mon Sep 17 00:00:00 2001 From: ShenYuhan Date: Thu, 8 Apr 2021 15:07:33 +0800 Subject: [PATCH] Add logger name. --- visualdl/server/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visualdl/server/log.py b/visualdl/server/log.py index 55dd93cf..98d9f36e 100644 --- a/visualdl/server/log.py +++ b/visualdl/server/log.py @@ -16,7 +16,7 @@ import logging -logger = logging.getLogger() +logger = logging.getLogger('vdl_logger') handler = logging.StreamHandler() handler.setFormatter(logging.Formatter('[%(levelname)s %(asctime)s %(filename)s:%(lineno)s] %(message)s')) logger.addHandler(handler) -- GitLab