test logging

This commit is contained in:
Michael Grote 2023-04-13 15:18:23 +02:00
parent bd39977741
commit 28dab84cad

View file

@ -1,4 +1,10 @@
bind = "0.0.0.0:5000" bind = "0.0.0.0:5000"
workers = 2 workers = 2
threads = 4 threads = 4
access-logfile -
import sys
accesslog = '-' # Log to stdout
errorlog = '-' # Log to stderr
sys.stdout = sys.stderr # Redirect stdout to stderr