bugfix: imklog invalidly computed facility and severity
authorRainer Gerhards <rgerhards@adiscon.com>
Thu, 1 Mar 2012 11:16:59 +0000 (12:16 +0100)
committerRainer Gerhards <rgerhards@adiscon.com>
Thu, 1 Mar 2012 11:16:59 +0000 (12:16 +0100)
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=313

ChangeLog
plugins/imklog/imklog.c

index be4f97c..76a4686 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 4024927..e82dd1f 100644 (file)
@@ -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: