Limit squid logging to avoid unnecessary messages

Started by skywalker007, October 25, 2019, 09:29:02 PM

Previous topic - Next topic
My squid log gets flooded with messages like this:
127.0.0.1 TCP_MISS/200 1690 GET cache_object://localhost/counters

Anyone know how to filter out those messages so I can focus on real access log from my clients?

thanks! Till
System1: Qotom Q310G4 (died recently)
System1: Supermicro A2SDi-4C-HLN4F,  64GB RAM, ZFS mirrored boot drive
System2: APU2C4

Do you have 3rd party software active, monitoring via cache manager? These are no log entries that occure in default settings.

You could try:

acl exclude dst localhost
access_log none exclude
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

thanks for this, I assume it comes from the netdata plugin which also monitors squid.
Where would I put those manual overwrites?
System1: Qotom Q310G4 (died recently)
System1: Supermicro A2SDi-4C-HLN4F,  64GB RAM, ZFS mirrored boot drive
System2: APU2C4

squid.conf
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

Am I not overwriting it once I do a change in the UI then?
System1: Qotom Q310G4 (died recently)
System1: Supermicro A2SDi-4C-HLN4F,  64GB RAM, ZFS mirrored boot drive
System2: APU2C4

Quote from: hbc on October 28, 2019, 03:50:59 PM
Do you have 3rd party software active, monitoring via cache manager? These are no log entries that occure in default settings.

You could try:

acl exclude dst localhost
access_log none exclude


Thank you this also works in other Squid servers.