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