From b17bcb7f2fd36c59488ab028e6a57783dbec232f Mon Sep 17 00:00:00 2001 From: megemini Date: Sun, 27 Aug 2023 19:31:56 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=20=E4=BF=AE=E6=94=B9logger=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E9=81=BF=E5=85=8D=E5=86=B2=E7=AA=81=20(#56687)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/sampcd_processor_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/sampcd_processor_utils.py b/tools/sampcd_processor_utils.py index e339499213b..d7b0a660f16 100644 --- a/tools/sampcd_processor_utils.py +++ b/tools/sampcd_processor_utils.py @@ -23,7 +23,9 @@ import sys import time import typing -logger = logging.getLogger() +logger = logging.getLogger(__name__) +logger.propagate = False + if logger.handlers: console = logger.handlers[ 0 -- GitLab