Re: [squid-users] Content Encoding Error

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 11 May 2013 21:33:57 +1200

On 11/05/2013 2:43 a.m., CACook_at_quantum-sci.com wrote:
> Ah yes, the logrotate path was wrong. Fixed it now.
>
>
> On Friday, May 10, 2013 07:06:00 AM Helmut Hullen wrote:
>> What tells
>>
>> squid -v
>>
>> about "sysconfdir" (where "squid.conf" is found) and about "with-
>> logdir"?
> --sysconfdir=/etc/squid3
> --with-logdir=/var/log/squid3
>
>
>> What tells
>>
>> grep log <sysconfdir>/squid.conf
>>
>> about the logging directives?
> The only line uncommented:
> logfile_rotate 2
>
> Hm, it appears that squid has built-in log rotate? Wouldn't the system logrotate interfere?

Yes, or the other way around.

When using Squid in-built rotate with cron set logfile_rotate to the N
number of access.log.N files you want to keep. When using an external
log manager set logfile_rotate to 0.

Amos
Received on Sat May 11 2013 - 09:34:16 MDT

This archive was generated by hypermail 2.2.0 : Sat May 11 2013 - 12:00:05 MDT