Commit f52bc5b0 authored by Matt Traudt's avatar Matt Traudt Committed by juga
Browse files

With --log-level, override the right thing

parent d111af98
......@@ -100,7 +100,7 @@ def configure_logging(args, conf):
assert isinstance(conf, ConfigParser)
logger = 'logger_sbws'
if args.log_level:
conf[logger]['level'] = args.log_level.upper()
conf['logging']['level'] = args.log_level.upper()
# Set the correct handler(s) based on [logging] options
handlers = set()
can_log_to_file, reason = _can_log_to_file(conf)
......
Supports Markdown
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