🔊(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
+1
View File
@@ -13,6 +13,7 @@ and this project adheres to
- ✨(frontend) add 1080p sending resolution option #1660
- ✨(backend) add Traefik support via configurable media-auth url header #1649
- ✨(backend) update a room's attributes from the external API
- 🔊(backend) log request duration in Gunicorn workers
### Changed
@@ -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'