Kaydet (Commit) 90d93615 authored tarafından Vinay Sajip's avatar Vinay Sajip

Change to basicConfig() to fix #1021.

üst 4df367c0
......@@ -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