diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-07 17:29:43 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-07 17:29:43 +0100 |
commit | 58477b825fb84e5181bbaa92fac542965d3aa0e7 (patch) | |
tree | 73f7436f56ba75fdd8b7ca6ccd55a4d9e2f8c553 /action.c | |
parent | fb81cf202c0277f48c75f777fa47e4db4e59f0a3 (diff) | |
parent | 3bec3ef53e6e54cc94d9ed0142a2304729092282 (diff) | |
download | rsyslog-58477b825fb84e5181bbaa92fac542965d3aa0e7.tar.gz rsyslog-58477b825fb84e5181bbaa92fac542965d3aa0e7.tar.bz2 rsyslog-58477b825fb84e5181bbaa92fac542965d3aa0e7.zip |
Merge branch 'master' into master-ruleeng
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -69,7 +69,7 @@ * beast. * rgerhards, 2011-06-15 * - * Copyright 2007-2011 Rainer Gerhards and Adiscon GmbH. + * Copyright 2007-2013 Rainer Gerhards and Adiscon GmbH. * * This file is part of rsyslog. * @@ -114,6 +114,7 @@ #include "unicode-helper.h" #include "atomic.h" #include "ruleset.h" +#include "parserif.h" #include "statsobj.h" #define NO_TIME_PROVIDED 0 /* indicate we do not provide any cached time */ @@ -473,6 +474,12 @@ actionConstructFinalize(action_t *pThis, struct nvlst *lst) qqueueDbgPrint(pThis->pQueue); DBGPRINTF("Action %p: queue %p created\n", pThis, pThis->pQueue); + + if(pThis->eParamPassing == ACT_MSG_PASSING && pThis->pQueue->qType != QUEUETYPE_DIRECT) { + parser_warnmsg("module %s with message passing mode uses " + "non-direct queue. This most probably leads to undesired " + "results", (char*)modGetName(pThis->pMod)); + } /* and now reset the queue params (see comment in its function header!) */ actionResetQueueParams(); |