James Carlson wrote:
Peter Taps wrote:
Folks,

Does OpenSolaris have one central mechanism for storing info, warnings, and errors? When I look at /var/log folder, I see a bunch of files besides "messages."

Many traditional UNIX system services log through syslog.  But some
write to files and others even write to the console directly.  And third
party applications write to even more places.  Thus finding "all" of the
information -- without reading the documentation for all of the
applications you intend to monitor -- is just not possible.

You'll find other important system logs over in /var/svc/log/ and still
others are displayed by fmdump(1M), for what it's worth.

You could also look at /etc/logadm.conf for a list of logs. This gets read by "logadm" nightly via cron, and it's even possibly you could use logadm for your nightly consolidation.

See, in particular, the -E cmd option:

         Execute cmd to expire the file, rather than deleting the
         old log file to expire it.
         [.......]
         This option is useful for tasks such as mailing old  log
         files  to  administrators,  or  copying old log files to
         long term storage.

You'd need to edit all the lines in logadm.conf, which is a PITA, but this is supposed to be the central list of log files.

Hugh.
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to