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 (parent:
e006df1
)
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
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 5 May 2009 13:55:27 +0000
(15:55 +0200)
etc/rsyslog.conf
patch
|
blob
|
history
diff --git
a/etc/rsyslog.conf
b/etc/rsyslog.conf
index 7b959032dc819138bbf671c2946183f768a69fd1..c6e706be16f977a902719e8b94f3c67036c3685c 100644
(file)
--- a/
etc/rsyslog.conf
+++ b/
etc/rsyslog.conf
@@
-35,6
+35,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 ####
@@
-81,7
+92,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