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',
|
||||
'level': logging.DEBUG}
|
||||
},
|
||||
loggers = {
|
||||
'root': {'handlers': ['h'],
|
||||
'level': logging.DEBUG}
|
||||
}
|
||||
root = {
|
||||
'handlers': ['h'],
|
||||
'level': logging.DEBUG,
|
||||
},
|
||||
)
|
||||
|
||||
dictConfig(logging_config)
|
||||
|
||||
Reference in New Issue
Block a user