<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi there, <div><br></div><div>I'm hosting two squid servers (Version 4.6) on CentOS in Azure, which are placed behing an Azure load balancer. </div><div><br></div><div>The LB has a health probe which constantly polls the squid servers on port 3128.</div><div><br></div><div>In the access.log, I can find a whole lot of entries like:</div><div><div><br></div><div>1557738944.935      0 168.63.129.16 NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -</div></div><div><br></div><div>Basically, the log gets flooded with this every few seconds. The source IP 168.63.129.16 is a platform IP of the Azure software-defined network, in this case it is the source of the LB health probe. </div><div><br></div><div>I tried to filter these log entries by using the access_log directive. E.g.:</div><div><br></div><div>Option 1)</div><div><div>acl azurelb src <a href="http://168.63.129.16/32">168.63.129.16/32</a></div><div>access_log none azurelb</div><div>access_log daemon:/var/log/squid/access.log squid</div><div><br></div><div>Option 2)  (read about a bug in an older 3.x version, which can be worked around by using this)</div><div>acl azurelb src <a href="http://168.63.129.16/32">168.63.129.16/32</a></div><div>access_log daemon:/var/log/squid/access.log squid !azurelb  <br></div><div><br></div><div>Option 3)</div><div><div>acl azurelbprobe url_regex ^error:transaction-end-before-headers  <br></div><div>access_log none azurelbprobe  <br></div><div>access_log daemon:/var/log/squid/access.log squid <br></div><div><br></div><div>None of this worked. I still get the same entries in access.log. </div><div>Any suggestion or hint will be appreciated.</div><div><br></div><div>Thanks & regards<br>Henning</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div><br></div></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div></div></div>