Change default level of console handlers for logging

This commit is contained in:
Eric Torres 2019-01-30 17:09:19 -08:00
parent d97d1648b9
commit e130d96326
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ syslog = logging.getLogger('packaging_scripts')
syslog.setLevel(logging.DEBUG)
console_handler = logging.StreamHandler()
console_handler.setLevel(logging.ERROR)
console_handler.setLevel(logging.INFO)
console_handler.setFormatter(console_formatter)
syslog.addHandler(console_handler)

View File

@ -27,7 +27,7 @@ syslog = logging.getLogger('packaging_scripts')
syslog.setLevel(logging.DEBUG)
console_handler = logging.StreamHandler()
console_handler.setLevel(logging.ERROR)
console_handler.setLevel(logging.INFO)
console_handler.setFormatter(console_formatter)
syslog.addHandler(console_handler)