diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-14 08:46:50 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-14 08:46:50 +0200 |
commit | acaf533712366c73e3b9abbd7a16b8008f894abe (patch) | |
tree | df79b2cb1db7d1bc7a81a4290fa473f49e576625 | |
parent | 398975cebe7d48b3a9542acab4904a0368f3e552 (diff) | |
download | rsyslog-acaf533712366c73e3b9abbd7a16b8008f894abe.tar.gz rsyslog-acaf533712366c73e3b9abbd7a16b8008f894abe.tar.bz2 rsyslog-acaf533712366c73e3b9abbd7a16b8008f894abe.zip |
Debug logging slightly improved
-rw-r--r-- | runtime/rule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/rule.c b/runtime/rule.c index fbc83873..a375b055 100644 --- a/runtime/rule.c +++ b/runtime/rule.c @@ -171,12 +171,12 @@ shouldProcessThisMessage(rule_t *pRule, msg_t *pMsg, sbool *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; else bRet = 1; + dbgprintf("testing filter, f_pmask %d, result %d\n", pRule->f_filterData.f_pmask[pMsg->iFacility], bRet); } else if(pRule->f_filter_type == FILTER_EXPR) { CHKiRet(vm.Construct(&pVM)); CHKiRet(vm.ConstructFinalize(pVM)); |