Search squid archive

Re: Squid with no logrotating

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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
-------------------------------------



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux