mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Merge pull request #704 from ForeverWintr/master
Fix incorrect dictConfig example
This commit is contained in:
@@ -163,10 +163,10 @@ the configuration dictionary.
|
|||||||
'formatter': 'f',
|
'formatter': 'f',
|
||||||
'level': logging.DEBUG}
|
'level': logging.DEBUG}
|
||||||
},
|
},
|
||||||
loggers = {
|
root = {
|
||||||
'root': {'handlers': ['h'],
|
'handlers': ['h'],
|
||||||
'level': logging.DEBUG}
|
'level': logging.DEBUG,
|
||||||
}
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
dictConfig(logging_config)
|
dictConfig(logging_config)
|
||||||
|
|||||||
Reference in New Issue
Block a user