X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Frsyslog.conf;h=ab6876b8b1228eadb758bc402c72a37d9880cb34;hb=refs%2Fheads%2Fmail;hp=7b959032dc819138bbf671c2946183f768a69fd1;hpb=e006df102382618400410b2e67430fb81eb93d97;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/rsyslog.conf b/etc/rsyslog.conf index 7b95903..ab6876b 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 @@ -90,4 +100,4 @@ $ActionQueueFileName remote $ActionResumeRetryCount -1 # save in-memory data if rsyslog shuts down $ActionQueueSaveOnShutdown on -*.* @@log;RSYSLOG_SyslogProtocol23Format +*.* @@log;RSYSLOG_ForwardFormat