diff --git a/ppocr/utils/logging.py b/ppocr/utils/logging.py index e3fa6b2398d6b1f06207b6c42dd8642f431365de..951141db8f39acac612029c8b69f4a29a0ab27ce 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