Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Customize log message routing with syslog.conf' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Customize log message routing with syslog.conf
Authored by: blakers on May 16, '04 06:36:20PM

logrotate seems simpler -- well to me, anyway -- than 'tweaking' the daily scripts, etc.

i've managed to successfully build/use logrotate from source on both OSX 10.2.8 & 10.3.3. the important prereqs are "gettext" & "popt" ... both of which also build easily.

logrotate's config file format of

log_name {
options
}

is very straightforward and allows you to specifiy, e.g. how often to rotate, whether to compress, how many logs to archive, rotates based on log size, etc.

i would've thought that osx allows for something as simple, but, if its there, it's eluded me so far!

blakers



[ Reply to This | # ]