Re: Make squid reopen its logfiles upon a HUP

From: Joe Cooper <joe@dont-contact.us>
Date: Fri, 22 Mar 2002 03:22:34 -0600

Damien Miller wrote:
> On Fri, 22 Mar 2002, Henrik Nordstrom wrote:
>
>
>>The authoriative Squid documentation is squid.conf.default, and there
>>the following is said:
>>
>
> [snip]
>
>
>>and several references that you should be using "squid -k rotate" and
>>"logfile_rotate" to control your logfile rotation
>>
>> 6.13. Which log files can I delete safely?
>> 6.15. My log files get very big!
>> 6.16. Managing log files
>>
>>Do we really need more?
>>
>
> I would expect this information to be in section 6.16, at least that is
> where I first looked. None of the sections under log files section of the
> manual mentioned this trick.
>
> Obviously I didn't look as hard as I might have, but my presumption was
> that since squid did its own logrotation, this feature hadn't been
> implemented. This presumption seems to be fairly widespread, certainly
> Redhat's squid logrotate script doesn't use this technique.

Actually, that's exactly how the Squid RPM from Red Hat handles the issue...

-- 
Joe Cooper <joe@swelltech.com>
http://www.swelltech.com
Web Caching Appliances and Support
Received on Fri Mar 22 2002 - 02:24:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:53 MST