SUMMARY : /var/adm/messages
2007-12-25 0:11:00
Original Post:
What setting controls the size of this log file, how do I tell it how large
to grow before it rolls over?
I looked in syslog.conf but I cannot Identify what determines the rollover.
Summary of Responses:
Pre Solaris 9:
The roll over is controlled using /usr/lib/newsyslog, which is run from
root's
crontab. It rotates both /var/adm/messages and /var/log/syslog.
10 3 * * 0 /usr/lib/newsyslog
Solaris 9:
The rollover is controlled by /usr/sbin/logadm. This is a new program from
Sun that will do
smarter rotation, by rotating on file size or rotating on dates. The config
file is /etc/logadm.conf
10 3 * * * /usr/sbin/logadm
Comments
Got something to say?
You must be logged in to post a comment.

