Merge pull request #11307 from dagwieers/patch-6

Change syslog (priority) level from LOG_NOTICE to LOG_INFO
pull/11315/head
Brian Coca 10 years ago
commit 4d5a98d8d9

@ -1161,10 +1161,10 @@ class AnsibleModule(object):
except IOError, e:
# fall back to syslog since logging to journal failed
syslog.openlog(str(module), 0, syslog.LOG_USER)
syslog.syslog(syslog.LOG_NOTICE, msg) #1
syslog.syslog(syslog.LOG_INFO, msg) #1
else:
syslog.openlog(str(module), 0, syslog.LOG_USER)
syslog.syslog(syslog.LOG_NOTICE, msg) #2
syslog.syslog(syslog.LOG_INFO, msg) #2
def _set_cwd(self):
try:

Loading…
Cancel
Save