diff options
-rw-r--r-- | runtime/rule.c | 1 | ||||
-rw-r--r-- | runtime/srutils.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/runtime/rule.c b/runtime/rule.c index 182d616a..4c2c9edb 100644 --- a/runtime/rule.c +++ b/runtime/rule.c @@ -164,6 +164,7 @@ shouldProcessThisMessage(rule_t *pRule, msg_t *pMsg, int *bProcessMsg) if(pRule->f_filter_type == FILTER_PRI) { /* skip messages that are incorrect priority */ +dbgprintf("testing filter, f_pmask %d\n", pRule->f_filterData.f_pmask[pMsg->iFacility]); if ( (pRule->f_filterData.f_pmask[pMsg->iFacility] == TABLE_NOPRI) || \ ((pRule->f_filterData.f_pmask[pMsg->iFacility] & (1<<pMsg->iSeverity)) == 0) ) bRet = 0; diff --git a/runtime/srutils.c b/runtime/srutils.c index 4bd552da..c403b312 100644 --- a/runtime/srutils.c +++ b/runtime/srutils.c @@ -500,14 +500,12 @@ int decodeSyslogName(uchar *name, syslogName_t *codetab) for (p = buf; *p; p++) if (isupper((int) *p)) *p = tolower((int) *p); -dbgprintf("obtained syslogName '%s'\n", buf); for (c = codetab; c->c_name; c++) if (!strcmp((char*) buf, (char*) c->c_name)) { dbgprintf(" ==> %d\n", c->c_val); return (c->c_val); } -dbgprintf("syslogName '%s' NOT found!\n", buf); return (-1); } |