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