diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-02-06 06:07:00 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-02-06 06:07:00 +0000 |
commit | b056d4c773f52d7e095a7711daf1726d9c5edae1 (patch) | |
tree | fe2b181b6c546dfac954a52f7587e0deda88789e /etc | |
parent | 03e580293fc25aae0dfc82fec75c69e5a3933d29 (diff) | |
download | FreeBSD-src-b056d4c773f52d7e095a7711daf1726d9c5edae1.zip FreeBSD-src-b056d4c773f52d7e095a7711daf1726d9c5edae1.tar.gz |
o Introduce automated log rotation for /var/log/console, the
default syslog target for console messages (when enabled in
syslog.conf). Use the same rotation defaults as with
/var/log/messages -- every 100kb of log, compress back logs,
and keep five rotated logs.
o Note: phk also thought it would be useful to force rotation
each boot. This commit does not introduce such a rotation.
Reviewed by: phk
Diffstat (limited to 'etc')
-rw-r--r-- | etc/newsyslog.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf index 47ff2e1..91ec96c 100644 --- a/etc/newsyslog.conf +++ b/etc/newsyslog.conf @@ -17,3 +17,4 @@ /var/log/daily.log 640 7 * @T00 Z /var/log/weekly.log 640 5 1 $W6D0 Z /var/log/monthly.log 640 12 * $M1D0 Z +/var/log/console 640 5 100 * Z |