diff --git a/src/backend/settings/__init__.py b/src/backend/settings/__init__.py index bebcf1e5..cbf43b46 100644 --- a/src/backend/settings/__init__.py +++ b/src/backend/settings/__init__.py @@ -343,9 +343,9 @@ "django.request": { "handlers": ["console"], "propagate": False, - "level": "DEBUG", + "level": os.getenv("DJANGO_LOG_LEVEL", "DEBUG"), }, - "core.handlers": {"level": "DEBUG", "handlers": ["console"]}, + "core.handlers": {"level": os.getenv("DJANGO_LOG_LEVEL", "DEBUG"), "handlers": ["console"]}, }, }