[issue1752] logging.basicConfig misleading behaviour

2008-01-07 Thread Vinay Sajip
Vinay Sajip added the comment: Added clarifying sentence to documentation (trunk only): "The function does nothing if any handlers have been defined for the root logger." -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1752] logging.basicConfig misleading behaviour

2008-01-07 Thread Guido van Rossum
Guido van Rossum added the comment: I recall being bitten by this too when first trying to use the logging module. I think the behavior is intentional, but I suppose it could be documented better. -- assignee: -> vsajip nosy: +gvanrossum, vsajip priority: -> low _

[issue1752] logging.basicConfig misleading behaviour

2008-01-06 Thread Max Ischenko
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) message