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, ...@@ -53,8 +53,9 @@ def get_logger_config(log_dir,
logging_env=logging_env, logging_env=logging_env,
hostname=hostname) hostname=hostname)
handlers = ['console', 'local'] if debug else ['console', handlers = ['console', 'local']
'syslogger-remote', 'local'] if syslog_addr:
handlers.append('syslogger-remote')
logger_config = { logger_config = {
'version': 1, '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