aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-04-08 16:14:02 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-04-08 16:14:02 +0000
commit4845d27e630599ec88fdfcd948ae4fbe8f4b1607 (patch)
tree83538d1063cfe7cec7f526722589a864cc21e48f /etc
parentb899d58ee4f7b1e2878178c0e69db56ca03aaa7b (diff)
downloadsrc-4845d27e630599ec88fdfcd948ae4fbe8f4b1607.tar.gz
src-4845d27e630599ec88fdfcd948ae4fbe8f4b1607.zip
Introduce debug.log which gets debug.* (most of this would otherwise go
to the great bit-bucket in the sky)
Notes
Notes: svn path=/head/; revision=113259
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile2
-rw-r--r--etc/newsyslog.conf1
-rw-r--r--etc/syslog.conf1
3 files changed, 4 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile
index cb1007d3a04e..6140f7f7c15b 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -129,6 +129,8 @@ distribution:
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
${DESTDIR}/var/log/cron
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
+ ${DESTDIR}/var/log/debug.log
+ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
${DESTDIR}/var/log/xferlog
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/lpd-errs
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf
index 395c8b628a09..8c8cd22ff62c 100644
--- a/etc/newsyslog.conf
+++ b/etc/newsyslog.conf
@@ -14,6 +14,7 @@
/var/log/console.log 600 5 100 * J
/var/log/cron 600 3 100 * J
/var/log/daily.log 640 7 * @T00 J
+/var/log/debug.log 600 7 100 * J
/var/log/kerberos.log 600 7 100 * J
/var/log/lpd-errs 644 7 100 * J
/var/log/maillog 640 7 * @T00 J
diff --git a/etc/syslog.conf b/etc/syslog.conf
index 23b0d8c1ee9c..238642a573de 100644
--- a/etc/syslog.conf
+++ b/etc/syslog.conf
@@ -13,6 +13,7 @@ mail.info /var/log/maillog
lpr.info /var/log/lpd-errs
ftp.info /var/log/xferlog
cron.* /var/log/cron
+*.debug /var/log/debug.log
*.emerg *
# uncomment this to log all writes to /dev/console to /var/log/console.log
#console.info /var/log/console.log