mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-20 14:28:54 +00:00
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:
@@ -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"},
|
||||
|
||||
Reference in New Issue
Block a user