From 653252f5e897c4bce64f37adb56d371a7f7886c3 Mon Sep 17 00:00:00 2001 From: Tudor Amariei Date: Mon, 19 Feb 2024 15:44:13 +0200 Subject: [PATCH] Upper the log level --- backend/redirectioneaza/settings.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/redirectioneaza/settings.py b/backend/redirectioneaza/settings.py index 08f1a42c..42c0c74e 100644 --- a/backend/redirectioneaza/settings.py +++ b/backend/redirectioneaza/settings.py @@ -177,6 +177,8 @@ # Logging +DJANGO_LOG_LEVEL = env.str("LOG_LEVEL").upper() + LOGGING = { "version": 1, "disable_existing_loggers": False, @@ -187,10 +189,9 @@ }, "root": { "handlers": ["console"], - "level": env.str("LOG_LEVEL"), + "level": DJANGO_LOG_LEVEL, }, } -DJANGO_LOG_LEVEL = env.str("LOG_LEVEL") # Application definition