summaryrefslogtreecommitdiff
path: root/network/haproxy/syslog.example
diff options
context:
space:
mode:
Diffstat (limited to 'network/haproxy/syslog.example')
-rw-r--r--network/haproxy/syslog.example20
1 files changed, 20 insertions, 0 deletions
diff --git a/network/haproxy/syslog.example b/network/haproxy/syslog.example
new file mode 100644
index 0000000000..8d062fac17
--- /dev/null
+++ b/network/haproxy/syslog.example
@@ -0,0 +1,20 @@
+# Note: If you enable local0 logging. You'll probably want to add
+# something like local0.none to your /etc/syslogd.conf
+#
+# Otherwise the logs will be sent to your /var/log/messages file
+# as well as the logfile specified below.
+#
+# An example would be to change the default line
+#
+# authpriv.none;cron.none;mail.none;news.none -/var/log/messages
+# to
+# authpriv.none;cron.none;mail.none;news.none;local0.none -/var/log/messages
+#
+# Move this file to /etc/syslog.d/ with .conf extension
+# so syslog will load it automatically.
+#
+# Also remember to restart sysklogd
+# sh /etc/rc.d/rc.syslog restart
+#
+
+local0.* -/var/log/haproxy