X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Frsyslog.conf;h=7b959032dc819138bbf671c2946183f768a69fd1;hb=e006df102382618400410b2e67430fb81eb93d97;hp=262d102b15b8107721e93a50d4a909dca31b95a1;hpb=fb358aeffdc097cc31d26f702bbc4b1e82cce400;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/rsyslog.conf b/etc/rsyslog.conf index 262d102..7b95903 100644 --- a/etc/rsyslog.conf +++ b/etc/rsyslog.conf @@ -36,9 +36,9 @@ $DirCreateMode 0755 $IncludeConfig /etc/rsyslog.d/*.conf -############### -#### RULES #### -############### +####################### +#### Local logging #### +####################### # # Log each facility into its own log @@ -74,3 +74,20 @@ local0,local1,local2,\ # Emergencies are sent to everybody logged in. # *.emerg * + +######################## +#### Remote logging #### +######################## + +# 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 +$ActionQueueFileName remote +# infinite retries on insert failure +$ActionResumeRetryCount -1 +# save in-memory data if rsyslog shuts down +$ActionQueueSaveOnShutdown on +*.* @@log;RSYSLOG_SyslogProtocol23Format