"be consistent" | |
PerlMonks |
Re: Write logging utility, or does one existby magog (Beadle) |
on May 04, 2005 at 22:01 UTC ( [id://454147]=note: print w/replies, xml ) | Need Help?? |
I stopped using logrotate because it tried to HUP Apache one morning at 4AM and accidentally killed it. There are a couple of utilities along the lines of what you're suggesting: Cronolog and vlogger. I use Cronolog for Apache logfiles. I like it, but it does spawn a lot of processes (1 per logfile, and therefore 2 per virtualhost). I've been meaning to play around with vlogger, which seems to be designed to minimize the number of spawned processes. Both of these read from STDIN and rotate logfiles, but I don't believe that either one can filter based on regexes. Michael
In Section
Seekers of Perl Wisdom
|
|