Logging: Fix Uvicorn hook
The Uvicorn logging config wasn't being set. Fix that when creating a new server. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
2295b12643
commit
4d09226364
2 changed files with 3 additions and 4 deletions
|
|
@ -80,9 +80,7 @@ UVICORN_LOG_CONFIG = {
|
|||
"disable_existing_loggers": False,
|
||||
"handlers": {
|
||||
"uvicorn": {
|
||||
"class": (
|
||||
f"{UvicornLoggingHandler.__module__}.{UvicornLoggingHandler.__qualname__}",
|
||||
)
|
||||
"class": f"{UvicornLoggingHandler.__module__}.{UvicornLoggingHandler.__qualname__}", # noqa
|
||||
},
|
||||
},
|
||||
"root": {"handlers": ["uvicorn"], "propagate": False, "level": "TRACE"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue