[squid-dev] [PATCH] New format code %acl_matched to log the last matched acl

Alfonso Ali ali at infomed.sld.cu
Sat Nov 15 19:00:49 UTC 2014


Hi,

I know that it's possible to obtain the last acl that was matched by 
using the correct debug options, but my company have found some use 
cases (mainly related with accounting) where this info could be useful 
without the need of the extra debug information.

Our first approach to the problem used external acls but when the load 
was high we found that some log lines were outputting the wrong value, 
so we decided to add this new format code.

I'm sending the patch for your consideration.

Regards,
  Alfonso Ali


--
Nunca digas nunca, di mejor: gracias, permiso, disculpe.

Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: last_matched_acl.diff
Type: text/x-patch
Size: 2942 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20141115/755bdc67/attachment.bin>


More information about the squid-dev mailing list