summaryrefslogtreecommitdiffstats
path: root/ansible/node/roles/common/files/rsyslog.conf
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/node/roles/common/files/rsyslog.conf')
-rw-r--r--ansible/node/roles/common/files/rsyslog.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/ansible/node/roles/common/files/rsyslog.conf b/ansible/node/roles/common/files/rsyslog.conf
new file mode 100644
index 0000000..6478b45
--- /dev/null
+++ b/ansible/node/roles/common/files/rsyslog.conf
@@ -0,0 +1,14 @@
+# Select a high precision time format. This allows accurate merging
+# of logs from multiple cluster nodes for easier CTDB debugging.
+$ActionFileDefaultTemplate RSYSLOG_FileFormat
+
+# Turn off rate-limiting. Why would we want to lose messages by
+# default?
+$SystemLogRateLimitInterval 0
+$SystemLogRateLimitBurst 0
+
+# Turn on UDP listener to be able to take advantage of CTDB's new
+# direct-to-syslog-on-UDP feature.
+$ModLoad imudp
+$UDPServerAddress 127.0.0.1
+$UDPServerRun 514