diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-22 09:53:07 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-22 09:53:07 +0000 |
commit | fd7e1fc72e81dc366eae70171bb8d68685121c62 (patch) | |
tree | fbbf66b12c5d02f270f50ce2ccd11c4b7e0349b2 /syslogd.c | |
parent | 99ddbebc8d16b50b992a5a1134f22b5c724427a5 (diff) | |
download | rsyslog-fd7e1fc72e81dc366eae70171bb8d68685121c62.tar.gz rsyslog-fd7e1fc72e81dc366eae70171bb8d68685121c62.tar.bz2 rsyslog-fd7e1fc72e81dc366eae70171bb8d68685121c62.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |