Re: /bzr/squid3/trunk/ r12048: Bug 3490: Crash writing Referer/Username logs

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Tue, 21 Feb 2012 09:53:33 +0100

mån 2012-02-20 klockan 11:01 -0700 skrev Alex Rousskov:

> I know this and the Log::Format::SquidReferer changes fix a bug and
> there is already code that disables logging if agent or referrer are
> absent, but I have to note that the "log nothing" approach itself is
> flawed because it leads to malformed log entries at best and hides
> potentially critical entries at worst, as documented by Squid r11337:

Yes. All traces of referer_log or useragent_log directives or their
magics should be killed.

If one really wants these logs then their behavior can be accomplished
by using acls to suitable access_log lines.

Regards
Henrik
Received on Tue Feb 21 2012 - 08:53:43 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 23 2012 - 12:00:07 MST