diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-11-30 22:46:29 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-11-30 22:46:29 (GMT) |
commit | 8b1e2f351d8f287f80e392be6cd81c3ccf1a18ab (patch) | |
tree | fe998def4d738a37d7239bc87fcb0aa344de7def | |
parent | a1eedf9ff0c986f99321ffef8a65b153c126b86a (diff) | |
parent | a9c179bd3ed3a72587b53f4614f0dec8949c68c6 (diff) | |
download | cpython-8b1e2f351d8f287f80e392be6cd81c3ccf1a18ab.zip cpython-8b1e2f351d8f287f80e392be6cd81c3ccf1a18ab.tar.gz cpython-8b1e2f351d8f287f80e392be6cd81c3ccf1a18ab.tar.bz2 |
Closes #19789: Merged update from 3.3.
-rw-r--r-- | Doc/library/logging.rst | 6 |
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) |