Skip to content

Commit 1e75f65

Browse files
author
sixeight
committed
bug: disable unicorn logger propagation.
1 parent cc841c2 commit 1e75f65

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/fastapi_cli/utils/cli.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ def get_uvicorn_log_config() -> Dict[str, Any]:
4343
},
4444
},
4545
"loggers": {
46-
"uvicorn": {"handlers": ["default"], "level": "INFO"},
46+
"uvicorn": {
47+
"handlers": ["default"],
48+
"level": "INFO",
49+
"propagte": False,
50+
},
4751
"uvicorn.error": {"level": "INFO"},
4852
"uvicorn.access": {
4953
"handlers": ["access"],

0 commit comments

Comments
 (0)