Re: [squid-users] Squid with no logrotating

From: Jens Strohschnitter <[email protected]>
Date: Tue, 17 Oct 2006 10:48:01 +0200

> Jens Strohschnitter wrote:
> >> after upgrading my "very" old squid 2.3STABLE4 to 2.6STABLE4, the access.log, cache.log, store.log
> >> will automaticly moved to xxxx.log.0 (.1 .2 and so on) when I reload the daemon.
> >> In the init-script, there is no line, that moves the logs after a reload. Also the squid is not
> >> starte with -k rotate.
> >>
> >> Where can I disable the rotating - in squid.conf I do not have found something ? Thx.
> >>
> > ok - I found it:
> >
> > logfile_rotate 0
> >
> > Sorry for the too fast question ;-)
> >
> >
> logfile_rotate just specifies how many old log files Squid will retain
> when given the order to rotate logs. Setting it to 0 does prevent Squid
> itself from rotating the logs, but wasn't the source of the problem...
> Hopefully you have the log rotation handled via another means.

Yep. Was made with a cronjob, that moves accesslog gziped to a special device.
Thx.

-- 
Regards,
     Jens Strohschnitter
-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for 
		 the heart of the sun
-------------------------------------
Received on Tue Oct 17 2006 - 03:00:50 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST