Merge "Log warnings and other paunch info to stderr"

This commit is contained in:
Zuul 2019-02-05 04:13:07 +00:00 committed by Gerrit Code Review
commit 4f7e8d5178
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def configure_logging(name, level=3, log_file=None):
ll = logging.WARNING
log.setLevel(ll)
handler = logging.StreamHandler(sys.stdout)
handler = logging.StreamHandler(sys.stderr)
handler.setLevel(ll)
if log_file:
fhandler = logging.FileHandler(log_file)