diff options
| -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 |