Agreed. I stopped using logrotate when I moved to Solaris 9 and transitioned to logadm. The big difference I see between the tools is the configuration file syntax(logadm.conf is simpler) and the fact that logadm.conf contains the time stamp info. Other than that, the functionality is the same. I do think that having two tools that have the same results is a bit confusing. Logadm does a good job. The main issue is that most SA's don't know about it. Perhaps what's really needed is a GUI tool in Gnome for newbies?
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Octave J. Orgeron Solaris Systems Engineer http://www.opensolaris.org/os/community/sysadmin/ http://unixconsole.blogspot.com unixconsole at yahoo.com *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* ----- Original Message ---- From: James Carlson <[email protected]> To: Sebastien Roy <Sebastien.Roy at sun.com> Cc: Dean Roehrich <dr161460 at sac.sfbay.sun.com>; lsarc-ext at sun.com Sent: Tuesday, June 3, 2008 3:59:34 PM Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008] Sebastien Roy writes: > On Tue, 2008-06-03 at 13:08 -0700, Dean Roehrich wrote: > > 1. Background > > > > Logrotate rotates log files and archives them in a central location. > > I find it odd that this case doesn't make mention of logadm(1M), the > existing piece of architecture already in the OS which is nearly > identical to what is being introduced by this case. It would be nice > for the case to (at least briefly) describe the relationship between > these two bits of architecture. > > For example, is this case changing the log rolling facility that is > enabled by default (logadm is in root's crontab by default today)? Can > the two facilities co-exist as long as they don't touch the same log > files? How will administrators coming from other OSs that only have > logrotate know to read logadm(1M) and go into /etc/logadm.conf in order > to remove configuration that may conflict with their logrotate > configration? I think this is really a recipe for confusion and disaster. I don't think having two functionally equivalent log file rotating mechanisms is the right thing to do. At all. The only reason I've seen logrotate and similar things used on Solaris systems is because we didn't have logadm prior to S10. -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-arc mailing list opensolaris-arc at opensolaris.org
