From 6da84c614d5a5b60ebed146301e4ac7c436f8fb3 Mon Sep 17 00:00:00 2001 From: fangfei Date: Mon, 21 Jan 2019 14:35:36 +0800 Subject: [PATCH] Fix root logging root and logger are same level. https://docs.python.org/2/library/logging.config.html#dictionary-schema-details --- gunicorn/glogging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/glogging.py b/gunicorn/glogging.py index 3f266977..56cc5bd0 100644 --- a/gunicorn/glogging.py +++ b/gunicorn/glogging.py @@ -49,8 +49,8 @@ CONFIG_DEFAULTS = dict( version=1, disable_existing_loggers=False, + root={"level": "INFO", "handlers": ["console"]}, loggers={ - "root": {"level": "INFO", "handlers": ["console"]}, "gunicorn.error": { "level": "INFO", "handlers": ["error_console"],