Fix logging

This commit is contained in:
Jake Howard 2017-04-05 13:43:47 +01:00
parent b839fe28ee
commit eef4519c73

View file

@ -15,4 +15,3 @@ def set_verbosity(args):
level = min(args.verbose, len(LOG_LEVELS) - 1) level = min(args.verbose, len(LOG_LEVELS) - 1)
verbosity = safe_list_get(LOG_LEVELS, level, logging.NOTSET) verbosity = safe_list_get(LOG_LEVELS, level, logging.NOTSET)
logging.basicConfig(format=FORMAT, level=verbosity) logging.basicConfig(format=FORMAT, level=verbosity)