From: Matthijs Kooijman Date: Tue, 5 May 2009 13:55:27 +0000 (+0200) Subject: rsyslog: Make the main queue disk-assisted as well. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=033368ac1cf3e8576f589405dcfbe5a3e0dc6816;p=matthijs%2Fservers%2Fdrsnuggles.git rsyslog: Make the main queue disk-assisted as well. --- diff --git a/etc/rsyslog.conf b/etc/rsyslog.conf index 7b95903..c6e706b 100644 --- a/etc/rsyslog.conf +++ b/etc/rsyslog.conf @@ -35,6 +35,17 @@ $DirCreateMode 0755 # $IncludeConfig /etc/rsyslog.d/*.conf +# Store any queues here. This directory is not created automatically, so it +# must already exist! +$WorkDirectory /var/spool/rsyslog + +# Use a (disk-assisted) main queue +# Use a linked list for queueing +$MainMsgQueueType LinkedList +# Name to use for the queue file +$MainMsgQueueFileName main +# save in-memory data if rsyslog shuts down +$MainMsgQueueSaveOnShutdown on ####################### #### Local logging #### @@ -81,7 +92,6 @@ local0,local1,local2,\ # Send all log entries to the log vserver, but queue them in memory as well as # on disk if needed. -$WorkDirectory /var/spool/rsyslog # Use a linked list for queueing $ActionQueueType LinkedList # Name to use for the queue file