Merge pull request #11307 from dagwieers/patch-6

Change syslog (priority) level from LOG_NOTICE to LOG_INFO
This commit is contained in:
Brian Coca 2015-06-18 10:29:16 -04:00
commit 4d5a98d8d9

View file

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