summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-26 17:30:51 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-26 17:30:51 +0000
commit439f19ad38f5dcc3282d450a2a15cea3238fc754 (patch)
tree1cc92b98f533a92de5fc97c528497e27b588714f /syslogd.c
parent1fb59126b0f9facb88cbbdc0331035f7e9dd80a7 (diff)
downloadrsyslog-439f19ad38f5dcc3282d450a2a15cea3238fc754.tar.gz
rsyslog-439f19ad38f5dcc3282d450a2a15cea3238fc754.tar.xz
rsyslog-439f19ad38f5dcc3282d450a2a15cea3238fc754.zip
partially fixed bug that caused rsyslogd to stall processing enqueued
messages after turning off DA mode and before any new message were arrived (if a new message arrived, everything went back to normal, so it was a temporary halt)
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/syslogd.c b/syslogd.c
index f2d13985..07abdc8b 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -3424,6 +3424,7 @@ init(void)
setQPROP(queueSetiDiscardMrk, "$MainMsgQueueDiscardMark", iMainMsgQDiscardMark);
setQPROP(queueSetiDiscardSeverity, "$MainMsgQueueDiscardSeverity", iMainMsgQDiscardSeverity);
setQPROP(queueSetiMinMsgsPerWrkr, "$MainMsgQueueWorkerThreadMinimumMessages", 100); // TODO: implement config directive!
+ setQPROP(queueSetbSaveOnShutdown, "$MainMsgQueueSaveOnShutdown", 1); // TODO: implement config directive!
# undef setQPROP
# undef setQPROPstr