diff --git a/argocd/configmap.yaml b/argocd/configmap.yaml index 905e0f5..0b8bb37 100644 --- a/argocd/configmap.yaml +++ b/argocd/configmap.yaml @@ -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" diff --git a/argocd/deployment.yaml b/argocd/deployment.yaml index 3a46238..a2169ed 100644 --- a/argocd/deployment.yaml +++ b/argocd/deployment.yaml @@ -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 diff --git a/gunicorn.conf.py b/gunicorn.conf.py index de9a64a..356c9ef 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -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, }, },