From 03a987e08de2a63fac0a06c616f5a0af073fbcd2 Mon Sep 17 00:00:00 2001 From: des Date: Tue, 8 Apr 2003 16:14:02 +0000 Subject: [PATCH] Introduce debug.log which gets debug.* (most of this would otherwise go to the great bit-bucket in the sky) --- etc/Makefile | 2 ++ etc/newsyslog.conf | 1 + etc/syslog.conf | 1 + 3 files changed, 4 insertions(+) diff --git a/etc/Makefile b/etc/Makefile index cb1007d3a04e..6140f7f7c15b 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -128,6 +128,8 @@ distribution: ${DESTDIR}/var/log/auth.log ${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 \ 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