summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-11-30 22:45:29 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-11-30 22:45:29 (GMT)
commita9c179bd3ed3a72587b53f4614f0dec8949c68c6 (patch)
tree8f08213cc1042e73a10ff3d6b3e7d1cb1dccb86f /Doc
parent896414fedf5e882345aca177d63da72bf6d8209a (diff)
downloadcpython-a9c179bd3ed3a72587b53f4614f0dec8949c68c6.zip
cpython-a9c179bd3ed3a72587b53f4614f0dec8949c68c6.tar.gz
cpython-a9c179bd3ed3a72587b53f4614f0dec8949c68c6.tar.bz2
Issue #19789: Clarified documentation for logging.disable.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/logging.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 3751501..29e9617 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -987,8 +987,10 @@ 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. To undo the effect of a call to
- ``logging.disable(lvl)``, call ``logging.disable(logging.NOTSET)``.
+ according to the logger's effective level. If
+ ``logging.disable(logging.NOTSET)`` is called, it effectively removes this
+ overriding level, so that logging output again depends on the effective
+ levels of individual loggers.
.. function:: addLevelName(lvl, levelName)