Change to basicConfig() to fix #1021.

This commit is contained in:
Vinay Sajip 2007-09-27 05:38:51 +00:00
parent 4df367c08d
commit 90d93615d6
1 changed files with 1 additions and 1 deletions

View File

@ -1247,7 +1247,7 @@ def basicConfig(**kwargs):
hdlr.setFormatter(fmt)
root.addHandler(hdlr)
level = kwargs.get("level")
if level:
if level is not None:
root.setLevel(level)
#---------------------------------------------------------------------------