diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-20 14:35:00 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-20 14:35:00 (GMT) |
commit | 5f045ea4409ce58c6c886cb2922c88ae73ee9ce6 (patch) | |
tree | 96c9eca5441d23e7a2fc293f2a1d6a81b492acca | |
parent | 897b278cf07cfc813522b6f26b6efc4513d0cf2b (diff) | |
download | cpython-5f045ea4409ce58c6c886cb2922c88ae73ee9ce6.zip cpython-5f045ea4409ce58c6c886cb2922c88ae73ee9ce6.tar.gz cpython-5f045ea4409ce58c6c886cb2922c88ae73ee9ce6.tar.bz2 |
Fixes #14864: Added documentation on how to undo the effects of a logging.disable() call.
-rw-r--r-- | Doc/library/logging.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index b4185c3..b77fd36 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -814,7 +814,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) |