Re: Make squid reopen its logfiles upon a HUP

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 21 Mar 2002 17:13:20 -0700 (MST)

On Fri, 22 Mar 2002, Damien Miller wrote:

> Hi,
>
> The following diff (relative to 2.3.STABLE4) will make squid reopen its
> logfiles whenever it is asked to reconfigure (SIGHUP). This is very useful
> when squid's logs are managed by something like logrotate or newsyslog,
> rather than squid's own log rotation. You may wish to allocate a differnet
> signal to this action, but HUP is good enough for my needs.
>
> I am not subscribed to the mailing list, so please Cc me on any
> discussion.

I don't understand.

Why is it not sufficient to set log_rotate to zero and use
the normal log rotation signal (squid -k rotate)?
Received on Thu Mar 21 2002 - 17:13:21 MST

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