Commit 86b413ff by David Ormsbee

fix syslogger errors

parent 5afddedc
......@@ -34,7 +34,6 @@ CACHES = ENV_TOKENS['CACHES']
LOGGING = logsettings.get_logger_config(LOG_DIR,
logging_env=ENV_TOKENS['LOGGING_ENV'],
tracking_filename="tracking.log",
syslog_addr=(ENV_TOKENS['SYSLOG_SERVER'], 514),
debug=False)
......
......@@ -29,7 +29,7 @@ def get_logger_config(log_dir,
" %(process)d] [%(filename)s:%(lineno)d] - %(message)s").format(
logging_env=logging_env, hostname=hostname)
handlers = ['console'] if debug else ['syslog']
handlers = ['console'] if debug else ['console', 'syslogger']
return {
'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