summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-12 13:58:49 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-12 13:58:49 +0000
commit2d9239beca678e35b8dc6e09e4add721052bfcb8 (patch)
tree96689305884dae4ff75bea6324b353c4f5756ee9 /syslogd.c
parentbc846dc0bddbf0f95c1354927adcb5daaf41ef4c (diff)
downloadrsyslog-2d9239beca678e35b8dc6e09e4add721052bfcb8.tar.gz
rsyslog-2d9239beca678e35b8dc6e09e4add721052bfcb8.tar.xz
rsyslog-2d9239beca678e35b8dc6e09e4add721052bfcb8.zip
bugfix: discard action and backup actions did not work due to problem in
direct queue mode. Now fixed. Tracker was http://sourceforge.net/tracker/index.php?func=detail&aid=1886931&group_ id=123448&atid=696552
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/syslogd.c b/syslogd.c
index 5bccc738..6841a6a9 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -1645,12 +1645,12 @@ int shouldProcessThisMessage(selector_t *f, msg_t *pMsg)
iRet = (iRet == 1) ? 0 : 1;
if(Debug) {
- printf("Filter: check for property '%s' (value '%s') ",
+ dbgprintf("Filter: check for property '%s' (value '%s') ",
rsCStrGetSzStrNoNULL(f->f_filterData.prop.pCSPropName),
pszPropVal);
if(f->f_filterData.prop.isNegated)
- printf("NOT ");
- printf("%s '%s': %s\n",
+ dbgprintf("NOT ");
+ dbgprintf("%s '%s': %s\n",
getFIOPName(f->f_filterData.prop.operation),
rsCStrGetSzStrNoNULL(f->f_filterData.prop.pCSCompValue),
iRet ? "TRUE" : "FALSE");
@@ -2893,7 +2893,7 @@ DEFFUNC_llExecFunc(dbgPrintInitInfoAction)
{
DEFiRet;
iRet = actionDbgPrint((action_t*) pData);
- printf("\n");
+ dbgprintf("\n");
RETiRet;
}