summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-04-08 16:14:02 +0000
committerdes <des@FreeBSD.org>2003-04-08 16:14:02 +0000
commit03a987e08de2a63fac0a06c616f5a0af073fbcd2 (patch)
tree83538d1063cfe7cec7f526722589a864cc21e48f /etc
parentdb67e9740fc0aae663db29df4b31f6b65bc638c2 (diff)
downloadFreeBSD-src-03a987e08de2a63fac0a06c616f5a0af073fbcd2.zip
FreeBSD-src-03a987e08de2a63fac0a06c616f5a0af073fbcd2.tar.gz
Introduce debug.log which gets debug.* (most of this would otherwise go
to the great bit-bucket in the sky)
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 cb1007d..6140f7f 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 395c8b6..8c8cd22 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 23b0d8c..238642a 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
OpenPOWER on IntegriCloud