From 24e9571ed4c714e73662338eb5929f36c297cb7a Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 8 Jun 2023 11:38:48 +0800 Subject: [PATCH] bugfix --- appPublic/app_logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appPublic/app_logger.py b/appPublic/app_logger.py index 307451a..1da3333 100755 --- a/appPublic/app_logger.py +++ b/appPublic/app_logger.py @@ -15,7 +15,7 @@ g_levelname='info' level = levels.get('info') def create_logger(name, formater=defaultfmt, levelname=None, file=None): - global logfile, level + global logfile, level, g_levelname if logfile == -1: logfile = file ret = logging.getLogger(name)