Re: [squid-users] 3.2 Log Rotate Problem

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 27 Dec 2012 12:41:27 +1300

On 27/12/2012 11:19 a.m., dweimer wrote:
> I have ran into an issue using squid -k rotate with 3.2.4 on FreeBSD,
> the issue is happening on all 4 server servers I have upgraded from
> 3.1 to 3.2 one is running FreeBSD-9.1 and the others running
> FreeBSD-9.0, all of them installed from the FreeBSD port. In all
> cases the cache.log rotates just fine, however the access.log file
> only keeps one old file. If left at the default of 10, you get
> access.log and access.log.9, if you change the option in the config
> with either logfile_rotate N, or debug_options rotate=N then you get
> access.log and access.log.N-1, there is no access.local.0,1,2...,N-1.
>
> Is anyone else having this issue? Any ideas what to check to track
> down the problem?
>

This is likely bug 3712, the fix is still winding its way down to a
stable release.

As a workaround you can use the "stdio:" log module instead of daemon module

Or to fix, apply the following patch:
  http://www.squid-cache.org/Versions/v3/3.HEAD/changesets/squid-3-12510.patch

Amos
Received on Wed Dec 26 2012 - 23:41:36 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 27 2012 - 12:00:05 MST