Commit 4cf3a73e authored by Vinay Sajip's avatar Vinay Sajip

Change to basicConfig() to fix #1021.

parent d6439ffa
......@@ -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)
#---------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment