summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-22 09:53:07 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-22 09:53:07 +0000
commitfd7e1fc72e81dc366eae70171bb8d68685121c62 (patch)
treefbbf66b12c5d02f270f50ce2ccd11c4b7e0349b2 /syslogd.c
parent99ddbebc8d16b50b992a5a1134f22b5c724427a5 (diff)
downloadrsyslog-fd7e1fc72e81dc366eae70171bb8d68685121c62.zip
rsyslog-fd7e1fc72e81dc366eae70171bb8d68685121c62.tar.gz
rsyslog-fd7e1fc72e81dc366eae70171bb8d68685121c62.tar.xz
changed queue's discard severities default value to 8 (do not discard) to
prevent unintentional message loss
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 9e7f80c..58ecb16 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -335,7 +335,7 @@ static int iMainMsgQueueSize = 10000; /* size of the main message queue above
static int iMainMsgQHighWtrMark = 8000; /* high water mark for disk-assisted queues */
static int iMainMsgQLowWtrMark = 2000; /* low water mark for disk-assisted queues */
static int iMainMsgQDiscardMark = 9800; /* begin to discard messages */
-static int iMainMsgQDiscardSeverity = 4; /* discard warning and above */
+static int iMainMsgQDiscardSeverity = 8; /* by default, discard nothing to prevent unintentional loss */
static int iMainMsgQueueNumWorkers = 1; /* number of worker threads for the mm queue above */
static queueType_t MainMsgQueType = QUEUETYPE_FIXED_ARRAY; /* type of the main message queue above */
static uchar *pszMainMsgQFName = NULL; /* prefix for the main message queue file */