Commit 0a23a85b by Brian Coca

Merge pull request #11280 from Vebryn/patch-1

Update syslog_json.py
parents c87591f7 b1574ecf
......@@ -22,7 +22,7 @@ class CallbackModule(object):
self.logger.setLevel(logging.DEBUG)
self.handler = logging.handlers.SysLogHandler(
address = (os.getenv('SYSLOG_SERVER','locahost'),
address = (os.getenv('SYSLOG_SERVER','localhost'),
os.getenv('SYSLOG_PORT',514)),
facility=logging.handlers.SysLogHandler.LOG_USER
)
......
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