[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Log files



Andy Jacobs wrote:


-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Gerald Waugh
Sent: 02 July 2003 18:46
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-users] Log files



The problem is, the site is getting more hits than I anticipated and I only
put in online last Thursday night.  It's getting around 10k page views a day
which is why the log files are getting so big I guess.  I'm starting to get
a bit worried about my bandwidth as well as it's up to about a gig a day and
I only get 20GB a month :o(  Still that's another matter.

Perhaps checking out
"man logrotate"
and
/etc/logrotate.conf
will help you a little?

I have no experience with modifying
logrotate.conf, but my hunch is that
everything you need can be tweaked from there.

Brief note (maybe useless):
/etc/logrotate.conf is read first
by the cronjob daemon and then
/etc/logrotate.d/apache
is read which then calls
/usr/local/sbin/split_logs


Regards.