Commit 773aebc6 authored by Vinay Sajip's avatar Vinay Sajip

Closes #19789: Merged update from 3.3.

parents 4e04ed5e 5c12a872
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment