Skip to content
Snippets Groups Projects
Commit 2a0f7541 authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

verbose by default please

parent ebfc4389
No related branches found
No related tags found
No related merge requests found
......@@ -89,12 +89,12 @@ def setup_logging(verbosity=0, filename=None, config_path=None):
)
if not verbosity or verbosity == 0:
level = logging.WARNING
elif verbosity == 1:
level = logging.INFO
else:
elif verbosity == 1:
level = logging.DEBUG
# FIXME: we need a logging.WARN for a -q quiet option
logging.basicConfig(level=level, filename=filename, format=log_format)
else:
logging.config.fileConfig(config_path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment