Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b620def

Browse filesBrowse files
committed
Merge pull request realpython#704 from ForeverWintr/master
Fix incorrect dictConfig example
2 parents 2c4ec63 + bdf3e1e commit b620def
Copy full SHA for b620def

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎docs/writing/logging.rst

Copy file name to clipboardExpand all lines: docs/writing/logging.rst
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@ the configuration dictionary.
163163
'formatter': 'f',
164164
'level': logging.DEBUG}
165165
},
166-
loggers = {
167-
'root': {'handlers': ['h'],
168-
'level': logging.DEBUG}
169-
}
166+
root = {
167+
'handlers': ['h'],
168+
'level': logging.DEBUG,
169+
},
170170
)
171171
172172
dictConfig(logging_config)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.