Search squid archive

Re: Exclude transaction from being logged

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux