From 28dab84cadc87ad4a550e7be375998f8dbb774b3 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 13 Apr 2023 15:18:23 +0200 Subject: [PATCH] test logging --- gunicorn_config.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gunicorn_config.py b/gunicorn_config.py index 3d2e864..4c0f73a 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -1,4 +1,10 @@ bind = "0.0.0.0:5000" workers = 2 threads = 4 -access-logfile - + +import sys + +accesslog = '-' # Log to stdout +errorlog = '-' # Log to stderr + +sys.stdout = sys.stderr # Redirect stdout to stderr