From c35fd9c4b7406da4a432fa325ca0b44d31e4bfbc Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Sun, 19 Feb 2023 11:18:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A8=E5=86=85=E9=83=A8pip?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BE=9D=E8=B5=96=E5=90=8Elogging=20handler?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=20(#156)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 499bf8f..b0da21f 100644 --- a/main.py +++ b/main.py @@ -69,6 +69,7 @@ def reset_logging(): log_colors=log_colors_config )) logging.getLogger().addHandler(sh) + pkg.utils.context.context['logger_handler'] = sh return sh