aboutsummaryrefslogtreecommitdiff
path: root/network/haproxy/syslog.example
diff options
context:
space:
mode:
authorBadchay <badchay@protonmail.com>2022-04-16 04:49:08 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-16 12:12:45 +0700
commit61d912f9e6de95044e7602f44591c409d0efd377 (patch)
tree270e7bf1c718aea80055ddafaf5e9c527c84d234 /network/haproxy/syslog.example
parent3ba51ec5d0f1d7e6397b933482b8875b1874cc8e (diff)
network/haproxy: Updated for version 2.5.5.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 0000000000000..8d062fac17f92
--- /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