summaryrefslogtreecommitdiffstats
path: root/action.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 /action.c
parent99ddbebc8d16b50b992a5a1134f22b5c724427a5 (diff)
downloadrsyslog-fd7e1fc72e81dc366eae70171bb8d68685121c62.tar.gz
rsyslog-fd7e1fc72e81dc366eae70171bb8d68685121c62.tar.xz
rsyslog-fd7e1fc72e81dc366eae70171bb8d68685121c62.zip
changed queue's discard severities default value to 8 (do not discard) to
prevent unintentional message loss
Diffstat (limited to 'action.c')
-rw-r--r--action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.c b/action.c
index 0f4c1db6..99ae8b32 100644
--- a/action.c
+++ b/action.c
@@ -63,7 +63,7 @@ static int iActionQueueSize = 1000; /* size of the main message queue above *
static int iActionQHighWtrMark = 800; /* high water mark for disk-assisted queues */
static int iActionQLowWtrMark = 200; /* low water mark for disk-assisted queues */
static int iActionQDiscardMark = 9800; /* begin to discard messages */
-static int iActionQDiscardSeverity = 4; /* discard warning and above */
+static int iActionQDiscardSeverity = 8; /* by default, discard nothing to prevent unintentional loss */
static int iActionQueueNumWorkers = 1; /* number of worker threads for the mm queue above */
static uchar *pszActionQFName = NULL; /* prefix for the main message queue file */
static int64 iActionQueMaxFileSize = 1024*1024;