1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #11280 from Vebryn/patch-1

Update syslog_json.py
This commit is contained in:
Brian Coca 2015-06-16 10:20:02 -04:00
commit 0a23a85bfc

View file

@ -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
)