[squid-users] Logging

Alex Rousskov rousskov at measurement-factory.com
Tue May 23 19:28:51 UTC 2017


On 05/23/2017 12:34 PM, Garbacik, Joe wrote:

> I am trying to separate logs so that in the log entries define why it
> was blocked. For example, I have created [one custom log format for each
> blocking rule]. If there a better way to accomplish this?

Yes, please see this very recent discussion:
http://lists.squid-cache.org/pipermail/squid-users/2017-May/015355.html

Also, the "action" you are hard-coding in your logformats is already
expressed (with better precision) in the %Ss logformat code.


HTH,

Alex.
P.S. The example Squid configuration you posted contains several errors,
but it could be just a side effect of a careless copy-paste.



More information about the squid-users mailing list