Subject: default values for newsyslog.conf
To: None <tech-userlevel@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: tech-userlevel
Date: 03/19/2001 00:38:50
the current default value for newsysslog.conf is like below.
the "size" line looks extremely small to me. if we have any daemon
(or normal program) that generates output to syslog, /var/log/messages
will be rotated multiple times a day.
does it make sense to raise the "size" value to larger (like 256 or
512) and have "time" set to like 24? do any of you have any idea
why the current default value is picked?
i can change the values locally of course, i'm guessing that many
people having the same problem as mine.
itojun
---
# $NetBSD: newsyslog.conf,v 1.14 2000/07/11 12:41:06 ad Exp $
#
# Configuration file for newsyslog(8).
#
# logfilename [user:group] mode ngen size time flags [/pidfile] [sigtype]
#
/var/cron/log root:wheel 600 3 10 * Z
/var/log/aculog uucp:dialer 640 7 * 24 Z
/var/log/authlog 600 5 30 * Z
/var/log/kerberos.log 640 7 * 24 ZN
/var/log/lpd-errs 640 7 10 * Z
/var/log/maillog 600 7 * 24 Z
/var/log/messages 644 5 30 * Z
/var/log/wtmp 644 7 * 168 ZBN
/var/log/xferlog 640 7 250 * Z