diff --git a/backend/redirectioneaza/settings.py b/backend/redirectioneaza/settings.py index 9aa326ec..cbf1f400 100644 --- a/backend/redirectioneaza/settings.py +++ b/backend/redirectioneaza/settings.py @@ -45,7 +45,7 @@ ENVIRONMENT=(str, "production"), DATA_UPLOAD_MAX_NUMBER_FIELDS=(int, 1000), OLD_SESSION_KEY=(str, ""), - LOG_LEVEL=(str, "INFO"), + LOG_LEVEL=(str, "WARNING"), ENABLE_CACHE=(bool, True), ENABLE_FORMS_DOWNLOAD=(bool, True), TIMEDELTA_FORMS_DOWNLOAD_MINUTES=(int, 360), diff --git a/docker/dockerfiles/Dockerfile b/docker/dockerfiles/Dockerfile index 47d70c54..56174f5f 100644 --- a/docker/dockerfiles/Dockerfile +++ b/docker/dockerfiles/Dockerfile @@ -52,7 +52,7 @@ ENV PYTHONUNBUFFERED=1 ENV DEBUG=False ENV ENVIRONMENT=production -ENV LOG_LEVEL=INFO +ENV LOG_LEVEL=${LOG_LEVEL:-WARNING} ENV RUN_MIGRATIONS=True ENV RUN_COMPILE_MESSAGES=True diff --git a/docker/dockerfiles/Dockerfile.dev b/docker/dockerfiles/Dockerfile.dev index 7b95c688..5f4e3278 100644 --- a/docker/dockerfiles/Dockerfile.dev +++ b/docker/dockerfiles/Dockerfile.dev @@ -6,6 +6,7 @@ ENV PYTHONUNBUFFERED=1 ENV DEBUG=${DEBUG:-True} ENV ENVIRONMENT=${ENVIRONMENT:-development} +ENV LOG_LEVEL=${LOG_LEVEL:-WARNING} ENV RUN_MIGRATIONS=True ENV RUN_COMPILE_MESSAGES=True diff --git a/terraform/main.tf b/terraform/main.tf index 8ade8290..2c193028 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -57,7 +57,7 @@ module "ecs_redirectioneaza" { }, { name = "LOG_LEVEL" - value = "INFO" + value = "WARNING" }, { name = "ENABLE_DJANGO_ADMIN"