summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-09-10 08:14:12 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-09-10 08:14:12 +0200
commit8cb83af1118b633d88cd01fefe2571e91918a9f9 (patch)
tree393ea88e2fce7b1a7c98f7a7e4c21f4b53451914 /syslogd.c
parent702140afad013a94450397f72fe1a5452178ee1b (diff)
downloadrsyslog-8cb83af1118b633d88cd01fefe2571e91918a9f9.tar.gz
rsyslog-8cb83af1118b633d88cd01fefe2571e91918a9f9.tar.xz
rsyslog-8cb83af1118b633d88cd01fefe2571e91918a9f9.zip
bugfix: incorrect default discard severity could cause message loss
default discard severity was incorrectly set to 4, which lead to discard-on-queue-full to be enabled by default. That could cause message loss where non was expected. The default has now been changed to the correct value of 8, which disables the functionality. This problem applied both to the main message queue and the action queues. Thanks to Raoul Bhatia for pointing out this problem.
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 26a15293..d90ead7f 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -399,7 +399,7 @@ static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __a
iMainMsgQHighWtrMark = 8000;
iMainMsgQLowWtrMark = 2000;
iMainMsgQDiscardMark = 9800;
- iMainMsgQDiscardSeverity = 4;
+ iMainMsgQDiscardSeverity = 8;
iMainMsgQueMaxFileSize = 1024 * 1024;
iMainMsgQueueNumWorkers = 1;
iMainMsgQPersistUpdCnt = 0;