[issue14864] Mention logging.disable(logging.NOTSET) to reset the command in logging module documentation
Guillaume
report at bugs.python.org
Sun May 20 15:39:38 CEST 2012
New submission from Guillaume <guibog at gmail.com>:
In the logging module documentation, nothing tells the user how to undo or reset a call to logging.disable(lvl). From reading the code (python 2.6 version) it seem the correct way to undo disable(lvl) is to call disable(0), but I think calling disable(NOTSET) would make more sense. The sentence I propose to add at the end of the paragraph about the disable() function is:
To undo the effect of a call to logging.disable(lvl), call logging.disable(logging.NOTSET).
(This is my first doc bug report, please feel free to tell me how to improve.)
----------
assignee: docs at python
components: Documentation
messages: 161206
nosy: docs at python, guibog
priority: normal
severity: normal
status: open
title: Mention logging.disable(logging.NOTSET) to reset the command in logging module documentation
type: enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14864>
_______________________________________
More information about the Python-bugs-list
mailing list