mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix: apply secret filter to Uvicorn log
This commit is contained in:
parent
973329e986
commit
f83d537249
1 changed files with 3 additions and 0 deletions
|
|
@ -494,16 +494,19 @@ def _get_uvicorn_json_log_config():
|
|||
"loggers": {
|
||||
"uvicorn": {
|
||||
"handlers": ["default"],
|
||||
"filters": [_secret_filter],
|
||||
"level": uvicorn_log_level,
|
||||
"propagate": False,
|
||||
},
|
||||
"uvicorn.error": {
|
||||
"handlers": ["default"],
|
||||
"filters": [_secret_filter],
|
||||
"level": uvicorn_log_level,
|
||||
"propagate": False,
|
||||
},
|
||||
"uvicorn.access": {
|
||||
"handlers": ["access"],
|
||||
"filters": [_secret_filter],
|
||||
"level": uvicorn_log_level,
|
||||
"propagate": False,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue