hi,all

i using rsyslog v5.8.11 on debian wheezy system, and have found strange 
behavior about rsyslog.
the only way that i can make rsyslog to persists logs in the memory queue is to 
set very a low value for $ActionQueueHighWaterMark (perhaps for 1)
and the “”“$ActionQueueSaveOnShutdown on”“” never do the work.


follow is my config (the logs in memory queue won't be saved when i stop the 
rsyslog)


$template MyTraditionalForwardFormat,"<%PRI%>%TIMESTAMP% %HOSTNAME% 
%syslogtag%%msg:::sp-if-no-1st-sp%%msg%"
$WorkDirectory /home/data1/log
$ActionQueueType LinkedList
$ActionQueueFileName test1.queue
$ActionResumeRetryCount -1
$ActionQueueSaveOnShutdown on
local3.* @@1.2.3.4;MyTraditionalForwardFormat

& ~
$WorkDirectory /home/data2/log

$ActionQueueType LinkedList

$ActionQueueFileName test2.queue
$ActionResumeRetryCount -1
$ActionQueueSaveOnShutdown on

local5.* @@5.6.7.8;MyTraditionalForwardFormat

& ~

can somebody help me about this,  and i miss something about 
$ActionQueueSaveOnShutdown ?

thanks in advaned.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to