Commit 453528f9 by John Jarvis

updating handlers list to conditionally include syslogger-remote

parent 669e31c6
......@@ -53,8 +53,9 @@ def get_logger_config(log_dir,
logging_env=logging_env,
hostname=hostname)
handlers = ['console', 'local'] if debug else ['console',
'syslogger-remote', 'local']
handlers = ['console', 'local']
if syslog_addr:
handlers.append('syslogger-remote')
logger_config = {
'version': 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment