Re: [squid-users] logrotate in squid

From: Dayo Adewunmi <contactdayo_at_gmail.com>
Date: Sun, 04 Oct 2009 00:26:21 +0100

espoire20 wrote:
>
> -ronin- wrote:
>
>> espoire20 wrote:
>>
>>> I use sarg to generate the report but my disk space come full now so
>>> i need to create a logrotate. so like this i can rotates my logs every
>>> day
>>> and automatically delete the eldest logs. I should configure it to rotate
>>> my
>>> squid logs every week and keep the logs for more than four weeks I want
>>> to
>>> be able to produce monthly reports. Of course, adjust this according to
>>> the
>>> traffic in my proxy , like this i can have the free disk space in my
>>> server.
>>>
>>> please you know how i can create the logrotate ??
>>>
>>> many thanks
>>>
>>>
>> On Ubuntu 8.04 I use the command "/usr/sbin/squid -k rotate" in a script
>> that runs weekly in
>> cron.
>>
>> Best regards
>>
>> Dayo
>>
>>
>>
>
> Thank you for your answer , me i use fedora . If you know how to do in
> fedora will be thankfull
>
> many thanks
>
It's probably the same. Check "man squid" to see the options. Also check
"which squid" to get
the full path of squid on fedora.

Best regards

Dayo
Received on Sat Oct 03 2009 - 23:26:43 MDT

This archive was generated by hypermail 2.2.0 : Sun Oct 04 2009 - 12:00:02 MDT