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

Re: [cobalt-users] log files & rotation



I got the same problem with AWSTATS 2.4

Sinse I used AWSTATS 3 it rotate my logs well

Ramon LOPEZ

----- Original Message -----
From: MikeM <MyRaQ@xxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Monday, September 10, 2001 3:04 PM
Subject: Re: [cobalt-users] log files & rotation


> On 9/10/01 at 7:27 AM David Thurman wrote:
>
> |on 9-10-01 1:41 AM, Chris Fragogiannis at franki@xxxxxxxx was reported to
> |have made a statement that said this:
> |
> |> I would like to ask if the web.log files of the virtual sites are
> |rotated. The
> |> script 'logrotate' in the daily cron does rotate only the system
> |> log files or the virtual sites log files, too?
> |
> |Chris,
> |I called Cobalt and asked the same question, we use AWSTATS for web
> |statistics and noticed they where not rotating as we wanted. They claim
> |when
> |the log files reach a certain point they will move over. They do not
rotate
> |on a daily basis per the tech at Cobalt.
> =============
>
>
> Hmmm...  I'm not sure I agree, maybe my reading of the scripts is
incorrect.
>
> Starting at the cron.daily directory, there is a script called logrotate.
All that script does is run logrotate with the config file
/etc/logrotate.conf
>
> logrotate.conf looks innocuous enough, until to notice the inclusion of
/etc/logrotate.d directory.
>
> In the /etc/logrotate.d directory, there is a file for apache.  One of the
sections for that file refers to the access log files.
>
> The following parameters, among others, are configured for the rotation of
the access file:
> - rotate daily
> - run split_logs before the rotation is performed
>
>
>
> This tells me that the web access log files are split into the various
web.log files on a daily basis, regardless of the size of the Apache access
log file.
>
> Where did I go astray?
>
>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>