always log exceptions, even without -v

This commit is contained in:
Daniel Pavel 2013-05-03 18:42:45 +02:00
parent 2ee2a5dc46
commit 49ecd252ed
2 changed files with 2 additions and 2 deletions

View File

@ -376,7 +376,7 @@ def _parse_arguments():
logging.basicConfig(level=max(log_level, logging.DEBUG), format=log_format)
else:
logging.root.addHandler(logging.NullHandler())
logging.root.setLevel(logging.CRITICAL)
logging.root.setLevel(logging.ERROR)
return args

View File

@ -35,7 +35,7 @@ def _parse_arguments():
logging.basicConfig(level=max(log_level, logging.DEBUG), format=log_format)
else:
logging.root.addHandler(logging.NullHandler())
logging.root.setLevel(logging.CRITICAL)
logging.root.setLevel(logging.ERROR)
return args