diff options
| author | Michael Grote | 2023-04-13 15:18:23 +0200 |
|---|---|---|
| committer | Michael Grote | 2023-04-13 15:18:23 +0200 |
| commit | 28dab84cadc87ad4a550e7be375998f8dbb774b3 (patch) | |
| tree | 4bb3b1b4b1cf8f5c28c839cbf77426f568e34b52 | |
| parent | bd399777415e6bde2abb5a33b4480cea3f474876 (diff) | |
test logging
| -rw-r--r-- | gunicorn_config.py | 8 |
1 files changed, 7 insertions, 1 deletions
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 |