From 72501c6e23c00898bd8ab2803e5ecda29328906b Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 21 Aug 2018 18:43:45 +0200 Subject: [PATCH] only set level on "radicale" logger --- radicale/log.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/radicale/log.py b/radicale/log.py index 884db51..f17aab2 100644 --- a/radicale/log.py +++ b/radicale/log.py @@ -38,7 +38,6 @@ except ImportError: LOGGER_NAME = "radicale" LOGGER_FORMAT = "[%(ident)s] %(levelname)s: %(message)s" -root_logger = logging.getLogger() logger = logging.getLogger(LOGGER_NAME) @@ -150,7 +149,6 @@ def set_level(level): """Set logging level for global logger.""" if isinstance(level, str): level = getattr(logging, level.upper()) - root_logger.setLevel(level) logger.setLevel(level) if level == logging.DEBUG: logger.removeFilter(removeTracebackFilter)