SUMMARY : /var/adm/messages

From: Hickey, Michael <HickeyM_at_bsci.com>
Date: Mon Dec 09 2002 - 11:17:21 EST
Thanks to all who responded!

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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Dec 9 11:19:05 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:00 EST