summaryrefslogtreecommitdiff
path: root/share/examples/syslogd
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2000-07-13 14:27:04 +0000
committerlukem <lukem@NetBSD.org>2000-07-13 14:27:04 +0000
commit481fca6e59249d8ffcf24fef7cfbe7b131bfb080 (patch)
treed2d601eeeff03280099024dde0534a06b6f660a3 /share/examples/syslogd
parentb10a1b69beb8d5cd6c3e93dcc8e237cbd2abf213 (diff)
example syslogd(8) config files (to be installed as /etc/syslog.conf):
all.debug - each facility gets logged to its own file
Diffstat (limited to 'share/examples/syslogd')
-rw-r--r--share/examples/syslogd/Makefile11
-rw-r--r--share/examples/syslogd/all.debug25
2 files changed, 36 insertions, 0 deletions
diff --git a/share/examples/syslogd/Makefile b/share/examples/syslogd/Makefile
new file mode 100644
index 00000000000..4352deeb626
--- /dev/null
+++ b/share/examples/syslogd/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2000/07/13 14:27:04 lukem Exp $
+
+.include <bsd.own.mk>
+
+.if ${MKSHARE} != "no"
+FILES= all.debug
+FILESDIR=/usr/share/examples/syslogd
+.endif
+MKOBJ= no
+
+.include <bsd.prog.mk>
diff --git a/share/examples/syslogd/all.debug b/share/examples/syslogd/all.debug
new file mode 100644
index 00000000000..edcf7b7fb61
--- /dev/null
+++ b/share/examples/syslogd/all.debug
@@ -0,0 +1,25 @@
+# $NetBSD: all.debug,v 1.1 2000/07/13 14:27:05 lukem Exp $
+#
+# example /etc/syslog.conf:
+# each facility is logged to a separate file
+#
+auth.debug /var/log/auth
+authpriv.debug /var/log/authpriv
+cron.debug /var/log/cron
+daemon.debug /var/log/daemon
+ftp.debug /var/log/ftp
+kern.debug /var/log/kern
+lpr.debug /var/log/lpr
+mail.debug /var/log/mail
+news.debug /var/log/news
+syslog,mark.debug /var/log/syslog
+user.debug /var/log/user
+uucp.debug /var/log/uucp
+local0.debug /var/log/local0
+local1.debug /var/log/local1
+local2.debug /var/log/local2
+local3.debug /var/log/local3
+local4.debug /var/log/local4
+local5.debug /var/log/local5
+local6.debug /var/log/local6
+local7.debug /var/log/local7