[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] log files & rotation
- Subject: Re: [cobalt-users] log files & rotation
- From: Chris Fragogiannis <franki@xxxxxxxx>
- Date: Mon Sep 10 00:22:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Ok, I am now more confused than before! ;-)
Is there any way to stop rotating the web.log files? I want the system admin
to reset these log files whenever he/she wants.
At 17:21 10/9/2001, you wrote:
>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
>>
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To Subscribe or Unsubscribe, please go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users