Not logging yet
All checks were successful
Build containers when image tags change / build-if-image-changed (., web, containers, main container, git.baumann.gr/adebaumann/labhelper) (push) Successful in 27s
Build containers when image tags change / build-if-image-changed (data-loader, loader, initContainers, init-container, git.baumann.gr/adebaumann/labhelper-data-loader) (push) Successful in 7s

This commit is contained in:
2026-01-28 09:06:39 +01:00
parent 5c9b45715b
commit 65868c043e
3 changed files with 17 additions and 4 deletions

View File

@@ -19,4 +19,4 @@ data:
LOGOUT_REDIRECT_URL: "login"
TRUSTED_PROXIES: "192.168.17.44,192.168.17.53"
GUNICORN_OPTS: "--access-logfile -"
IMAGE_TAG: "0.069"
IMAGE_TAG: "0.070"

View File

@@ -27,7 +27,7 @@ spec:
mountPath: /data
containers:
- name: web
image: git.baumann.gr/adebaumann/labhelper:0.069
image: git.baumann.gr/adebaumann/labhelper:0.070
imagePullPolicy: Always
ports:
- containerPort: 8000

View File

@@ -50,15 +50,28 @@ logconfig_dict = {
},
"handlers": {
"console": {
"class": "logging.StreamHandler",
"stream": "ext://sys.stderr",
},
"access_console": {
"class": "logging.StreamHandler",
"filters": ["health_check"],
"stream": "ext://sys.stdout",
},
},
"root": {
"level": "INFO",
"handlers": ["console"],
},
"loggers": {
"gunicorn.access": {
"handlers": ["console"],
"gunicorn.error": {
"level": "INFO",
"handlers": ["console"],
"propagate": False,
},
"gunicorn.access": {
"level": "INFO",
"handlers": ["access_console"],
"propagate": False,
},
},