[New-bugs-announce] [issue1752] logging.basicConfig misleading behaviour

Max Ischenko report at bugs.python.org
Mon Jan 7 08:46:49 CET 2008


New submission from Max Ischenko:

Function logging.basicConfig has a confusing and undocumented behaviour:
it does nothing if there are any handlers already present in root logger.

It could be more explicit, say, by giving a ValueError in such cases.

----------
components: Library (Lib)
messages: 59437
nosy: imax
severity: normal
status: open
title: logging.basicConfig misleading behaviour
type: behavior
versions: Python 2.5

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1752>
__________________________________


More information about the New-bugs-announce mailing list