Silence per-connection uvicorn logs (client ip + timing)
This commit is contained in:
@@ -31,8 +31,9 @@ def main():
|
||||
proxy_headers=config.BEHIND_PROXY,
|
||||
forwarded_allow_ips="*" if config.BEHIND_PROXY else None,
|
||||
ws="websockets-sansio",
|
||||
# access log would leak attempt/vote timing per client ip
|
||||
# access + websocket "connection open" lines would leak per-ip timing
|
||||
access_log=False,
|
||||
log_level="warning",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user