Commit 07162d41 authored by Vinay Sajip's avatar Vinay Sajip

Closes #14864: Added documentation on how to undo the effects of a...

Closes #14864: Added documentation on how to undo the effects of a logging.disable() call. Thanks to user Guillaume for the suggestion.
parents a1df1cc7 69d84938
......@@ -962,7 +962,8 @@ functions.
effect is to disable all logging calls of severity *lvl* and below, so that
if you call it with a value of INFO, then all INFO and DEBUG events would be
discarded, whereas those of severity WARNING and above would be processed
according to the logger's effective level.
according to the logger's effective level. To undo the effect of a call to
``logging.disable(lvl)``, call ``logging.disable(logging.NOTSET)``.
.. function:: addLevelName(lvl, levelName)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment