From 71126c55d30a12aebd559acdd89d21fbb8afa373 Mon Sep 17 00:00:00 2001 From: cdhigh Date: Wed, 27 Nov 2024 20:08:41 -0300 Subject: [PATCH] Update gunicorn.conf.py --- docker/gunicorn.conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/gunicorn.conf.py b/docker/gunicorn.conf.py index 5d167997..ffde1905 100644 --- a/docker/gunicorn.conf.py +++ b/docker/gunicorn.conf.py @@ -11,7 +11,7 @@ #example: https://github.com/benoitc/gunicorn/blob/master/gunicorn/glogging.py if os.getenv('USE_DOCKER_LOGS') == 'yes': accesslog = "/data/gunicorn.access.log" - loglevel = os.getenv.get('LOG_LEVEL') or 'info' + loglevel = os.getenv('LOG_LEVEL') or 'info' else: #accesslog = "/data/gunicorn.access.log" #errorlog = "/data/gunicorn.error.log" @@ -23,13 +23,13 @@ "root": {"level": "info", "handlers": ["error_file"]}, 'loggers': { "gunicorn.error": { - "level": os.getenv.get('LOG_LEVEL') or 'info', + "level": os.getenv('LOG_LEVEL') or 'info', "handlers": ["error_file"], "propagate": False, "qualname": "gunicorn.error" }, "gunicorn.access": { - "level": os.getenv.get('LOG_LEVEL') or 'info', + "level": os.getenv('LOG_LEVEL') or 'info', "handlers": ["access_file"], "propagate": False, "qualname": "gunicorn.access"