Fix root logging

root and logger are same level. https://docs.python.org/2/library/logging.config.html#dictionary-schema-details
This commit is contained in:
fangfei 2019-01-21 14:35:36 +08:00 committed by Randall Leeds
parent c85bfba8b2
commit 6da84c614d

View File

@ -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"],