MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] How do you deal with stats?



> Yes I use a motified version of that to rotate the logs out to another dir which 
> I then resolve and parse with webalizer (all via cron) but when you rotate you 
> have to restart apaceh to create the new access and error files.  It is this 
> short time frame I am concerned about and am probably just doing it wrong 
> as I dont recall that issue every being raised...

I know this is way off-topic, but I've written a quick little perl script
to do my log rotations.  It's a little more flexible than most that I've
seen, allowing for different rotation times for different logs, etc.

It works for syslog, named, etc. as well.

   http://www.mallorn.com/~lindsey/logs/

Not really fully-released; just something that I've thrown together.
Future changes include version rotation (keep last n rotations), 
weekly rollovers, more action commands, etc.  (actually, most of it's
done, but I haven't tried it under fire yet).

Chris


Search for: Match: Format: Sort by: