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