summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-20 14:08:31 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-20 14:08:31 +0000
commit1f1f6746b420d7b5722a9a861e859c19672fa35b (patch)
tree2585549b71d1d7a664bdbdb06c9d54f93ce4fb60 /syslogd.c
parentc6bebca3c76985016970d87e75dd025a169790b0 (diff)
downloadrsyslog-1f1f6746b420d7b5722a9a861e859c19672fa35b.tar.gz
rsyslog-1f1f6746b420d7b5722a9a861e859c19672fa35b.tar.xz
rsyslog-1f1f6746b420d7b5722a9a861e859c19672fa35b.zip
$MainMessageQueueDiscardSeverity can now also handle textual severities
(previously only integers)
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslogd.c b/syslogd.c
index 4a5f5502..77acb06c 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -3254,7 +3254,7 @@ static rsRetVal loadBuildInModules(void)
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuehighwatermark", 0, eCmdHdlrInt, NULL, &iMainMsgQHighWtrMark, NULL));
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuelowwatermark", 0, eCmdHdlrInt, NULL, &iMainMsgQLowWtrMark, NULL));
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuediscardmark", 0, eCmdHdlrInt, NULL, &iMainMsgQDiscardMark, NULL));
- CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuediscardseverity", 0, eCmdHdlrInt, NULL, &iMainMsgQDiscardSeverity, NULL));
+ CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuediscardseverity", 0, eCmdHdlrSeverity, NULL, &iMainMsgQDiscardSeverity, NULL));
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuecheckpointinterval", 0, eCmdHdlrInt, NULL, &iMainMsgQPersistUpdCnt, NULL));
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueuetype", 0, eCmdHdlrGetWord, setMainMsgQueType, NULL, NULL));
CHKiRet(regCfSysLineHdlr((uchar *)"mainmsgqueueworkerthreads", 0, eCmdHdlrInt, NULL, &iMainMsgQueueNumWorkers, NULL));