[techtalk] Re: Rotating apache logs
David Merrill
david at lupercalia.net
Mon Jun 4 14:41:49 EST 2001
On Mon, Jun 04, 2001 at 09:30:39AM -0700, Seageraves Caren wrote:
> David,
>
> Sorry to be reqponding so late here, but even late, I
> feel I need to suggest using cronolog to rotate you
> apache logs rather than cron + logrotate.
> (http://www.ford-mason.co.uk/resources/cronolog/)
>
> Cronolog has worked really well for us. When we used
> log rotate we had problems if our servers eperienced
> significant load when the logs were rotated.
Is that the only problem you had? If so, I'll stick with what I have.
It works. :-)
And, this is just my personal web site with some resources used by the
LDP staff. So, a big load is not an issue for me. It just doesn't
happen.
Thanks for the info, though. If I ever have problems due to load,
which is conceivable since I just started mirroring the LDP as well,
then I will look at cronolog.
> --- David Merrill <david at lupercalia.net> wrote:
> > I'm configuring webalizer on my machine and am
> > scheduling a cron job
> > to process the web logs. I need to make sure the
> > processing of web
> > logs happens *before* the log rotator. The log
> > rotator is called from
> > a script in cron.monthly, and the log processor is
> > going to be in
> > cron.hourly (for now).
> >
> > Can anyone tell me whether scripts in
> > /etc/cron.hourly are guaranteed
> > to run *before* those in cron.daily, and .daily
> > before .weekly, etc.,
> > etc.? The manpage for cron doesn't say anything
> > about it.
> >
> > TIA,
> >
> > --
> > Dr. David C. Merrill
> > http://www.lupercalia.net
> > Linux Documentation Project
> > david at lupercalia.net
> > Collection Editor & Coordinator
> > http://www.linuxdoc.org
> > Finger me for
> > my public key
> >
> > System going down at 1:45 this afternoon for disk
> > crashing.
> >
> > _______________________________________________
> > techtalk mailing list
> > techtalk at linuxchix.org
> > http://www.linux.org.uk/mailman/listinfo/techtalk
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
--
Dr. David C. Merrill http://www.lupercalia.net
Linux Documentation Project david at lupercalia.net
Collection Editor & Coordinator http://www.linuxdoc.org
They are relatively good but absolutely terrible.
-- Alan Kay, commenting on Apollos
More information about the Techtalk
mailing list