From 7288ebca46a1de5703245c40d0c745de4123a727 Mon Sep 17 00:00:00 2001 From: caitinggui <1029645297@qq.com> Date: Fri, 19 Jan 2018 17:47:13 +0800 Subject: [PATCH] fix log twice --- sanic/log.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sanic/log.py b/sanic/log.py index 9c6d868d..9904ecd5 100644 --- a/sanic/log.py +++ b/sanic/log.py @@ -14,14 +14,14 @@ LOGGING_CONFIG_DEFAULTS = dict( "sanic.error": { "level": "INFO", "handlers": ["error_console"], - "propagate": True, + "propagate": False, "qualname": "sanic.error" }, "sanic.access": { "level": "INFO", "handlers": ["access_console"], - "propagate": True, + "propagate": False, "qualname": "sanic.access" } },