always log exceptions, even without -v
This commit is contained in:
parent
2ee2a5dc46
commit
49ecd252ed
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue