[issue2718] Logging.basicConfig ignores level=0

2008-04-29 Thread Vinay Sajip
Vinay Sajip <[EMAIL PROTECTED]> added the comment: Already fixed in SVN. Change was: "if level:" -> "if level is not None:" in basicConfig(). -- nosy: +vsajip resolution: -> duplicate status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue2718] Logging.basicConfig ignores level=0

2008-04-29 Thread Jeroen van der Ham
New submission from Jeroen van der Ham <[EMAIL PROTECTED]>: logging.basicConfig seems to ignore level=0: >>> import logging >>> logging.basicConfig(level=0) >>> logging.getLogger().getEffectiveLevel() 30 >>> import logging >>> logging.basicConfig(level=10) >>> logging.getLogger().getEffectiveL