summaryrefslogtreecommitdiffstats
path: root/etc/newsyslog.conf
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-03-02 00:40:55 +0000
committerbrooks <brooks@FreeBSD.org>2005-03-02 00:40:55 +0000
commit14774e80eefdef732d74a62d75bcdc6aff9e4c9f (patch)
treee969c9f76b3e8fece910139459351bb564710ae3 /etc/newsyslog.conf
parentd861d0ef47882721d597ea9b083ccadab77a0af9 (diff)
downloadFreeBSD-src-14774e80eefdef732d74a62d75bcdc6aff9e4c9f.zip
FreeBSD-src-14774e80eefdef732d74a62d75bcdc6aff9e4c9f.tar.gz
- Update etc/rc.d/newsyslog to FreeBSD standards and install it.
- Enable it by default, running newsyslog with -CN which creates files that have the C flag specified in /etc/newsyslog.conf. - Remove the "newsyslog -CC" call from etc/rc.d/var and the check for newsyslog. - Add the C flag to entries in /etc/newsyslog.conf that are currently installed as part of the base system. There are two effects from this change: - Users who delete default syslog files to stop logging to them will need to set newsyslog_enable=NO in rc.conf or remove the C flag from those file in /etc/newsyslog.conf or they will come back on the next boot. - Diskless systems now create the same set of files that ordinary systems have by default instead of every file in newsyslog.conf.
Diffstat (limited to 'etc/newsyslog.conf')
-rw-r--r--etc/newsyslog.conf20
1 files changed, 10 insertions, 10 deletions
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf
index ad1e4b4..a1c5f98 100644
--- a/etc/newsyslog.conf
+++ b/etc/newsyslog.conf
@@ -19,21 +19,21 @@
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
/var/log/all.log 600 7 * @T00 J
/var/log/amd.log 644 7 100 * J
-/var/log/auth.log 600 7 100 * J
+/var/log/auth.log 600 7 100 * JC
/var/log/console.log 600 5 100 * J
-/var/log/cron 600 3 100 * J
+/var/log/cron 600 3 100 * JC
/var/log/daily.log 640 7 * @T00 JN
-/var/log/debug.log 600 7 100 * J
+/var/log/debug.log 600 7 100 * JC
/var/log/kerberos.log 600 7 100 * J
-/var/log/lpd-errs 644 7 100 * J
-/var/log/maillog 640 7 * @T00 J
-/var/log/messages 644 5 100 * J
+/var/log/lpd-errs 644 7 100 * JC
+/var/log/maillog 640 7 * @T00 JC
+/var/log/messages 644 5 100 * JC
/var/log/monthly.log 640 12 * $M1D0 JN
/var/log/pflog 600 3 100 * JB /var/run/pflogd.pid
-/var/log/ppp.log root:network 640 3 100 * J
-/var/log/security 600 10 100 * J
+/var/log/ppp.log root:network 640 3 100 * JC
+/var/log/security 600 10 100 * JC
/var/log/sendmail.st 640 10 * 168 B
-/var/log/slip.log root:network 640 3 100 * J
+/var/log/slip.log root:network 640 3 100 * JC
/var/log/weekly.log 640 5 1 $W6D0 JN
/var/log/wtmp 644 3 * @01T05 B
-/var/log/xferlog 600 7 100 * J
+/var/log/xferlog 600 7 100 * JC
OpenPOWER on IntegriCloud