summaryrefslogtreecommitdiffstats
path: root/plugins/mmnormalize/mmnormalize.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-11-28 10:02:08 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-28 10:02:08 +0100
commitd9df6e977554f0bd1d42093ea62ca15dab223ff3 (patch)
tree136b7b693c963dbbdd16a0c82dcc9ec978e0e0b1 /plugins/mmnormalize/mmnormalize.c
parent7b05ede891c22aac9bc8a9692b4416e2c3c4d815 (diff)
downloadrsyslog-d9df6e977554f0bd1d42093ea62ca15dab223ff3.tar.gz
rsyslog-d9df6e977554f0bd1d42093ea62ca15dab223ff3.tar.bz2
rsyslog-d9df6e977554f0bd1d42093ea62ca15dab223ff3.zip
bugfix: modules not (yet) supporting new conf format were not properly registered
This lead to a "module not found" error message instead of the to-be-expected "module does not support new style" error message. That invalid error message could be quite misleading and actually stop people from addressing the real problem (aka "go nuts" ;))
Diffstat (limited to 'plugins/mmnormalize/mmnormalize.c')
-rw-r--r--plugins/mmnormalize/mmnormalize.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mmnormalize/mmnormalize.c b/plugins/mmnormalize/mmnormalize.c
index b5f4ce18..d3fba39b 100644
--- a/plugins/mmnormalize/mmnormalize.c
+++ b/plugins/mmnormalize/mmnormalize.c
@@ -222,6 +222,7 @@ ENDmodExit
BEGINqueryEtryPt
CODESTARTqueryEtryPt
CODEqueryEtryPt_STD_OMOD_QUERIES
+CODEqueryEtryPt_STD_CONF2_CNFNAME_QUERIES
ENDqueryEtryPt
@@ -256,6 +257,7 @@ INITLegCnfVars
*ipIFVersProvided = CURR_MOD_IF_VERSION;
/* we only support the current interface specification */
CODEmodInit_QueryRegCFSLineHdlr
+ DBGPRINTF("mmnormalize: module compiled with rsyslog version %s.\n", VERSION);
/* check if the rsyslog core supports parameter passing code */
bMsgPassingSupported = 0;
localRet = pHostQueryEtryPt((uchar*)"OMSRgetSupportedTplOpts",