You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we should hide the headers like we do in by default [[?? and provide a mechanism (flag ??) so that people who truly want the scope in logs can have it ]]
OS / Python / Uvicorn version: just run uvicorn --version
The exact command you're running uvicorn with, all flags you passed included. If you run it with gunicorn please do the same. If there is a reverse-proxy involved and you cannot reproduce without it please give the minimal config of it to reproduce.
Additional context
The text was updated successfully, but these errors were encountered:
Checklist
master
.Describe the bug
prompted by @alicederyn in gitter you can leak headers from the scope in the access logs given that you use json formatting for your logging.
To reproduce
logging.yaml
cookieapp.py
returns :
Expected behavior
we should hide the headers like we do in by default [[?? and provide a mechanism (flag ??) so that people who truly want the scope in logs can have it ]]
uvicorn/uvicorn/middleware/message_logger.py
Line 7 in 79a72e3
Actual behavior
Debugging material
Environment
uvicorn --version
Additional context
The text was updated successfully, but these errors were encountered: