[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Solaris log files
Todd Williams <todd@macsch.com> writes:
> I've always considered writing some tool that would allow you to manage
> and age all your log files from one config file. Maybe the config file
> would be a table that lists the base logfile name, the interval at which
> it gets aged, the number of logs or amount of space to keep online before
> deleting them, etc.
Red Hat Linux ships with the logrotate program. It is a configurable
log file rotater that can scripts actions to take before and after
rotating files (HUP'ing syslogd, for example) and is driven by a
config file. I use it to automatically run log analysis reports after
the files are rotated out.
--[Lance]