Re: [squid-users] Rotating logs restarts authentication/acl helpers?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 10 Jun 2010 02:41:24 +0000

On Wed, 9 Jun 2010 18:49:22 -0600, "David Parks" <davidparks21_at_yahoo.com>
wrote:
> Using 3.1.4, when I call squid -k rotate to rotate the logs, it
restarts
> all the authentication and acl helpers.
> Why is this? I have an ACL helper running for every request (very
quick),
> and the reload of logs is causing it to be down for ~10 seconds.
> I would like to be able to parse logs every 30 seconds for
near-real-time
> reporting.

This is because the helpers are attached to the cache.log for debugging
and error reporting.
This has always been the case AFAIK.

Use the log daemon: feature instead for real-time access to log data.
It lets you easily create a daemon script to receive and do anything with
the log lines.
 http://wiki.squid-cache.org/Features/LogDaemon

Amos
Received on Thu Jun 10 2010 - 02:41:31 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 10 2010 - 12:00:03 MDT