From 2bf96828f1bba405c907cfff535acf3a7d8f4822 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 24 Feb 2020 15:30:28 +0100 Subject: [PATCH] root: fix logging.basicConfig being called by pyjwkest --- passbook/root/settings.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/passbook/root/settings.py b/passbook/root/settings.py index ca8b419f7..503d8da13 100644 --- a/passbook/root/settings.py +++ b/passbook/root/settings.py @@ -317,7 +317,7 @@ LOGGING = { }, "handlers": { "console": { - "level": DEBUG, + "level": "DEBUG", "class": "logging.StreamHandler", "formatter": "colored" if DEBUG else "plain", }, @@ -325,6 +325,7 @@ LOGGING = { "loggers": {}, } _LOGGING_HANDLER_MAP = { + "": "DEBUG", "passbook": "DEBUG", "django": "WARNING", "celery": "WARNING", @@ -337,7 +338,7 @@ for handler_name, level in _LOGGING_HANDLER_MAP.items(): LOGGING["loggers"][handler_name] = { "handlers": ["console"], "level": level, - "propagate": True, + "propagate": False, } TEST = False