mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 02:50:40 +01:00
23 lines
793 B
Plaintext
23 lines
793 B
Plaintext
# Test for DA mode in main message queue (see .sh file for details)
|
|
# rgerhards, 2009-04-22
|
|
$ModLoad ../plugins/imtcp/.libs/imtcp
|
|
$MainMsgQueueTimeoutShutdown 10000
|
|
$InputTCPServerRun 13514
|
|
|
|
$ErrorMessagesToStderr off
|
|
|
|
# set spool locations and switch queue to disk assisted mode
|
|
$WorkDirectory test-spool
|
|
$MainMsgQueueSize 200 # this *should* trigger moving on to DA mode...
|
|
# note: we must set QueueSize sufficiently high, so that 70% (light delay mark)
|
|
# is high enough above HighWatermark!
|
|
$MainMsgQueueHighWatermark 80
|
|
$MainMsgQueueLowWatermark 40
|
|
$MainMsgQueueFilename mainq
|
|
$MainMsgQueueType linkedlist
|
|
$MainMsgQueueDeqzezeSlowdown 1000
|
|
|
|
$template outfmt,"%msg:F,58:2%\n"
|
|
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
|
|
:msg, contains, "msgnum:" ?dynfile;outfmt
|