diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-20 15:36:17 +0100 |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-20 15:36:17 +0100 |
commit | 69d8493899592c64c0297964d7addb91aaeb0f17 (patch) | |
tree | 5b7535f82d3c815f7550de4c8b6b4ecf02da0d92 /Doc/library/logging.rst | |
parent | 1203e83d288588c472d738f65a17df4084ababee (diff) | |
download | cpython-git-69d8493899592c64c0297964d7addb91aaeb0f17.tar.gz |
Fixes #14864: Added documentation on how to undo the effects of a logging.disable() call.
Diffstat (limited to 'Doc/library/logging.rst')
-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 dc97726258..14e00fe1ed 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -942,7 +942,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) |