Re: [squid-users] Squid default log rotation period

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 21 Nov 2008 09:30:24 +1300 (NZDT)

>
>
>
> Henrik Nordstrom-5 wrote:
>>
>> On tor, 2008-11-20 at 07:05 -0800, kaustav_deybiswas wrote:
>>
>>> I have recently installed Squid and I found that Squid is automatically
>>> rotating its logs every week.
>>
>> No it doesn't. But maybe you have a logrotate script doing the log
>> rotation?
>>
>> Regards
>> Henrik
>>
>>
>>
>
> Henrik,
>
> I havent written any scripts, for sure. My crontab is empty, but squid
> still
> rotates logs after every 7 days. I havent even configured anything
> relating
> to log rotation in squid.conf.
>
> I am using squid-2.6.STABLE16-4.fc7. How do I figure out what is going
> wrong?
>

As Henrik said, Squid needs to be manually set to do any rotation.

Pre-packaged bundles of squid often come with all the control scripts that
do this type of thing.
Check for /etc/logrotate.d/squid or crontab entries calling 'squid -k
rotate'.

Amos

> Thanks & Regards,
> Kaustav
> --
> View this message in context:
> http://www.nabble.com/Squid-default-log-rotation-period-tp20603100p20608012.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
>
>
Received on Thu Nov 20 2008 - 20:30:26 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 12:00:03 MST