diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-03-01 12:16:59 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-03-01 12:16:59 +0100 |
commit | aafa9b41a5f06b88f11df5c837427e171e1048d7 (patch) | |
tree | ed81a0447a71d8690abd6ed9d0a6f9b88e2d1a51 | |
parent | 2227515764469d475d42d05ca7384cb227a8dce5 (diff) | |
download | rsyslog-aafa9b41a5f06b88f11df5c837427e171e1048d7.tar.gz rsyslog-aafa9b41a5f06b88f11df5c837427e171e1048d7.tar.xz rsyslog-aafa9b41a5f06b88f11df5c837427e171e1048d7.zip |
bugfix: imklog invalidly computed facility and severity
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=313
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | plugins/imklog/imklog.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,4 +1,8 @@ --------------------------------------------------------------------------- +Version 5.9.6 [V5-DEVEL], 2012-03-?? +- bugfix: imklog invalidly computed facility and severity + closes: http://bugzilla.adiscon.com/show_bug.cgi?id=313 +--------------------------------------------------------------------------- Version 5.9.5 [V5-DEVEL], 2012-01-27 - improved impstats subsystem, added many new counters - enhanced module loader to not rely on PATH_MAX diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c index 40249273..e82dd1f4 100644 --- a/plugins/imklog/imklog.c +++ b/plugins/imklog/imklog.c @@ -119,8 +119,8 @@ enqMsg(uchar *msg, uchar* pszTag, int iFacility, int iSeverity, struct timeval * MsgSetRcvFromIP(pMsg, pLocalHostIP); MsgSetHOSTNAME(pMsg, glbl.GetLocalHostName(), ustrlen(glbl.GetLocalHostName())); MsgSetTAG(pMsg, pszTag, ustrlen(pszTag)); - pMsg->iFacility = LOG_FAC(iFacility); - pMsg->iSeverity = LOG_PRI(iSeverity); + pMsg->iFacility = iFacility; + pMsg->iSeverity = iSeverity; CHKiRet(submitMsg(pMsg)); finalize_it: |