Change default level of console handlers for logging
This commit is contained in:
parent
d97d1648b9
commit
e130d96326
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user