fix the logger and make it work (#1397)
* fix the logger and make it work * modify test_logging parameters and add a new unit test
This commit is contained in:
committed by
Stephen Sadowski
parent
e3a27c2cc4
commit
b63c06c75a
@@ -6,7 +6,7 @@ LOGGING_CONFIG_DEFAULTS = dict(
|
||||
version=1,
|
||||
disable_existing_loggers=False,
|
||||
loggers={
|
||||
"root": {"level": "INFO", "handlers": ["console"]},
|
||||
"sanic.root": {"level": "INFO", "handlers": ["console"]},
|
||||
"sanic.error": {
|
||||
"level": "INFO",
|
||||
"handlers": ["error_console"],
|
||||
|
||||
Reference in New Issue
Block a user