#### 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