🔊(backend) log request duration in Gunicorn workers

Include the time taken by each request in the Gunicorn worker
access logs, so we can spot slow endpoints and correlate latency
patterns directly from the logs.
This commit is contained in:
lebaudantoine
2026-09-04 23:59:12 +02:00
parent 43963c3d24
commit b687af2bf9
2 changed files with 2 additions and 0 deletions
@@ -14,3 +14,4 @@ accesslog = "-"
# Using '-' for the error log file makes gunicorn log errors to stderr
errorlog = "-"
loglevel = "info"
access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" %(M)s'