Skip to content

Commit

Permalink
Closes python#14864: Added documentation on how to undo the effects o…
Browse files Browse the repository at this point in the history
…f a logging.disable() call. Thanks to user Guillaume for the suggestion.
  • Loading branch information
vsajip committed May 20, 2012
2 parents a1df1cc + 69d8493 commit 07162d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 07162d4

Please sign in to comment.