test logging

This commit is contained in:
Michael Grote 2023-04-13 15:18:23 +02:00
parent bd39977741
commit 28dab84cad
1 changed files with 7 additions and 1 deletions

View File

@ -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