EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 714954ca authored by Bernhard Mallinger's avatar Bernhard Mallinger
Browse files

Define a json format for the gunicorn access log

parent 16b09fb0
No related branches found
No related tags found
1 merge request!12use structlog
Pipeline #21927 passed
......@@ -11,6 +11,10 @@ worker_class = 'sync'
# logging
accesslog = '-'
access_log_format = '{"remote_address":"%(h)s",' \
'"response_code":"%(s)s","request_method":"%(m)s",' \
'"request_path":"%(U)s","request_querystring":"%(q)s",' \
'"request_timetaken":"%(D)s","response_length":"%(B)s"}'
errorlog = '-'
loglevel = 'warning'
disable_redirect_access_to_syslog = True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment