From e40e46e16462c0db49b13f05735515854c8c9766 Mon Sep 17 00:00:00 2001 From: Unrud Date: Thu, 25 Aug 2016 05:03:22 +0200 Subject: [PATCH] Don't disable existing loggers The logger is retrieved before configure_from_file is called and gets disabled, the same happens when the logging configuration is reloaded. --- radicale/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/log.py b/radicale/log.py index f091506..34d4e4c 100644 --- a/radicale/log.py +++ b/radicale/log.py @@ -30,7 +30,7 @@ import sys def configure_from_file(logger, filename, debug): - logging.config.fileConfig(filename) + logging.config.fileConfig(filename, disable_existing_loggers=False) if debug: logger.setLevel(logging.DEBUG) for handler in logger.handlers: