X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Frsyslog.conf;h=107707a7ca0cefaf1844053a408ab33783849a7e;hb=c94b9e088fbc0157109d51a3312e6f0cf6e7ceb4;hp=ffcfd33c0ffae97980aae2672dff3eea3f4cadb6;hpb=05a50a2e29cf794127b71d136da7816ad391fe7a;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/rsyslog.conf b/etc/rsyslog.conf index ffcfd33..107707a 100644 --- a/etc/rsyslog.conf +++ b/etc/rsyslog.conf @@ -36,6 +36,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 #### @@ -82,7 +93,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