[squid-users] Exclude transaction from being logged

Service MV service.mv at gmail.com
Tue Mar 2 01:35:46 UTC 2021


Unfortunately, the log that I whant to avoid is being still logged.

El vie., 26 feb. 2021 17:14, Alex Rousskov <rousskov at 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.
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210301/32109821/attachment.htm>


More information about the squid-users mailing list