From 1e7352be17cf9f9017ccad703cc92e6cbdb94745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Tue, 10 Feb 2026 13:46:39 +0200 Subject: [PATCH] Updates --- deployment.yaml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index f3eda00..8bb033b 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -553,43 +553,36 @@ data: 'class': 'logging.StreamHandler', 'formatter': 'verbose', }, - 'file': { - 'class': 'logging.handlers.RotatingFileHandler', - 'filename': os.path.join(LOGS_DIR, 'django.log'), - 'maxBytes': 1024 * 1024 * 15, # 15MB - 'backupCount': 10, - 'formatter': 'verbose', - }, }, 'loggers': { 'django': { - 'handlers': ['console', 'file'], + 'handlers': ['console'], 'level': os.environ.get('DJANGO_LOG_LEVEL', 'INFO'), 'propagate': False, }, 'myapp': { - 'handlers': ['console', 'file'], + 'handlers': ['console'], 'level': os.environ.get('DJANGO_LOG_LEVEL', 'INFO'), 'propagate': False, }, 'storages': { - 'handlers': ['console', 'file'], + 'handlers': ['console'], 'level': 'DEBUG' if DEBUG else 'INFO', 'propagate': False, }, 'boto3': { - 'handlers': ['console', 'file'], + 'handlers': ['console'], 'level': 'DEBUG' if DEBUG else 'INFO', 'propagate': False, }, 'botocore': { - 'handlers': ['console', 'file'], + 'handlers': ['console'], 'level': 'DEBUG' if DEBUG else 'INFO', 'propagate': False, }, }, 'root': { - 'handlers': ['console', 'file'], + 'handlers': ['console'], 'level': 'INFO', }, } @@ -650,7 +643,7 @@ data: # Use virtual-hosted-style URLs (bucket-name.s3.region.amazonaws.com) # This is the default and recommended format - AWS_S3_ADDRESSING_STYLE = 'virtual' + AWS_S3_ADDRESSING_STYLE = 'path' # Django 5.0+ STORAGES configuration STORAGES = { @@ -839,3 +832,4 @@ data: # Fix http callback issue in mozilla-django-oidc by forcing https; https://github.com/mozilla/mozilla-django-oidc/issues/417 # OIDC should only be setup behind a TLS reverse proxy anyways SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") +