From f6de135016b3a2b7a98e1ba5523317b1a33d8280 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 22 Feb 2024 13:47:58 +0100 Subject: [PATCH] fix add logger --- trustchain_idhub/settings.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/trustchain_idhub/settings.py b/trustchain_idhub/settings.py index 043054d..538fa63 100644 --- a/trustchain_idhub/settings.py +++ b/trustchain_idhub/settings.py @@ -212,13 +212,11 @@ LOGGING = { "version": 1, "disable_existing_loggers": False, "handlers": { - "console": {"class": "logging.StreamHandler"}, + "console": {"level": "DEBUG", "class": "logging.StreamHandler"}, }, - "loggers": { - "django": { - "handlers": ["console"], - "level": "INFO", - }, + "root": { + "handlers": ["console"], + "level": "DEBUG", } }