<div dir="auto">Unfortunately, the log that I whant to avoid is being still logged.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie., 26 feb. 2021 17:14, Alex Rousskov <<a href="mailto:rousskov@measurement-factory.com">rousskov@measurement-factory.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2/26/21 2:58 PM, Service MV wrote:<br>
> Ok, but whit this two lines disabled completely access logs. I've no<br>
> more access_log directives configured.<br>
<br>
Yeah, this outcome is surprising to many admins (and there are also<br>
related bugs in Squid code).<br>
<br>
To see all other records, add access_log lines that define how you want<br>
the rest of the records to be logged. For example, if you want Squid to<br>
use the default record format and other defaults, then try this untested<br>
sketch:<br>
<br>
   acl zabbix_proxy src x.x.x.x<br>
   access_log none zabbix_proxy<br>
   access_log daemon:/specify/exact/log/file/location/here<br>
<br>
You can see the default access_log configuration specific to your Squid<br>
build in squid.conf.documented.<br>
<br>
<br>
HTH,<br>
<br>
Alex.<br>
<br>
<br>
<br>
> El vie., 26 feb. 2021 16:21, Alex Rousskov escribió:<br>
> <br>
>     On 2/26/21 12:36 PM, Service MV wrote:<br>
> <br>
>     > NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -<br>
>     ><br>
>     > I know that this is not an error. But I want to exclude this log when<br>
>     > the Zabbix server checks the port status of SQUID. Zabbix server does<br>
>     > not use the SQUID as a proxy.<br>
> <br>
>     If you do not want to see what Zabbix is doing to your Squid, you can<br>
>     exclude its requests from access.log. For example, if you do not want to<br>
>     see any requests from Zabbix IP address:<br>
> <br>
>       acl zabbix_proxy src x.x.x.x<br>
>       access_log none zabbix_proxy<br>
> <br>
> <br>
>     HTH,<br>
> <br>
>     Alex.<br>
> <br>
<br>
</blockquote></div>