X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Frsyslog.conf;h=ffcfd33c0ffae97980aae2672dff3eea3f4cadb6;hb=05a50a2e29cf794127b71d136da7816ad391fe7a;hp=a3076b2a867bfb3e628c82f9b8f19b6811a4cd97;hpb=bfe1d887cb51100bc742655b869176c6a17fff79;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/rsyslog.conf b/etc/rsyslog.conf index a3076b2..ffcfd33 100644 --- a/etc/rsyslog.conf +++ b/etc/rsyslog.conf @@ -80,5 +80,15 @@ local0,local1,local2,\ #### Remote logging #### ######################## -# Send all log entries to the log vserver -*.* :omrelp:log:514;RSYSLOG_SyslogProtocol23Format +# 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