projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
05a50a2
)
rsyslog: Make the main queue disk-assisted as well.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 5 May 2009 13:55:27 +0000
(15:55 +0200)
committer
root
<root@drsnuggles.stderr.nl>
Tue, 5 May 2009 16:35:21 +0000
(18:35 +0200)
etc/rsyslog.conf
patch
|
blob
|
history
diff --git
a/etc/rsyslog.conf
b/etc/rsyslog.conf
index ffcfd33c0ffae97980aae2672dff3eea3f4cadb6..107707a7ca0cefaf1844053a408ab33783849a7e 100644
(file)
--- a/
etc/rsyslog.conf
+++ b/
etc/rsyslog.conf
@@
-36,6
+36,17
@@
$DirCreateMode 0755
#
$IncludeConfig /etc/rsyslog.d/*.conf
#
$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 ####
#######################
#### Local logging ####
@@
-82,7
+93,6
@@
local0,local1,local2,\
# Send all log entries to the log vserver, but queue them in memory as well as
# on disk if needed.
# 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
# Use a linked list for queueing
$ActionQueueType LinkedList
# Name to use for the queue file