From cafb2df8a69841041a77da746c103254e6d80fcf Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Fri, 6 Nov 2020 19:11:42 +0800 Subject: [PATCH] change log name to root --- ppocr/utils/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppocr/utils/logging.py b/ppocr/utils/logging.py index e3fa6b23..951141db 100644 --- a/ppocr/utils/logging.py +++ b/ppocr/utils/logging.py @@ -22,7 +22,7 @@ logger_initialized = {} @functools.lru_cache() -def get_logger(name='ppocr', log_file=None, log_level=logging.INFO): +def get_logger(name='root', log_file=None, log_level=logging.INFO): """Initialize and get a logger by name. If the logger has not been initialized, this method will initialize the logger by adding one or two handlers, otherwise the initialized logger will -- GitLab