Automagic Log trimming?

Andy Bradford amb-plug at bradfords.org
Thu Jan 5 15:30:08 MST 2006


Thus said Steve on Thu, 05 Jan 2006 11:06:42 MST:

> Hello, my  /var/log/messages now  weighs in  at a  hefty 35MB  most of
> which is "cron  run complete" messages dating back a  month or so ago.
> Problem is it used to only grow at a rate of 100-200k per day, now due
> to traffic, it's hitting a few MBs per day.

Two of my favorites are:

http://cr.yp.to/daemontools/multilog.html
http://www.smarden.org/socklog/

Both are syslog replacements to some degree.

Andy
--
[-----------[system uptime]--------------------------------------------]
  3:29pm  up 41 days,  4:57,  1 user,  load average: 0.00, 0.00, 0.00



More information about the PLUG mailing list