From e382440aa6b604ecdd323288279876767ab36443 Mon Sep 17 00:00:00 2001 From: Christian Stefanescu <217554+stchris@users.noreply.github.com> Date: Fri, 15 May 2020 12:17:04 +0200 Subject: [PATCH] Don't override the root logger (#674) Overriding the root logger is probably not intended here. See discussion in https://github.com/encode/uvicorn/issues/630 --- uvicorn/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uvicorn/config.py b/uvicorn/config.py index c35b567bd..fa17cae03 100644 --- a/uvicorn/config.py +++ b/uvicorn/config.py @@ -83,7 +83,7 @@ }, }, "loggers": { - "": {"handlers": ["default"], "level": "INFO"}, + "uvicorn": {"handlers": ["default"], "level": "INFO"}, "uvicorn.error": {"level": "INFO"}, "uvicorn.access": {"handlers": ["access"], "level": "INFO", "propagate": False}, },