OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: skywalker007 on October 25, 2019, 09:29:02 pm

Title: Limit squid logging to avoid unnecessary messages
Post by: skywalker007 on October 25, 2019, 09:29:02 pm
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
Title: Re: Limit squid logging to avoid unnecessary messages
Post by: 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:

Code: [Select]
acl exclude dst localhost
access_log none exclude
Title: Re: Limit squid logging to avoid unnecessary messages
Post by: skywalker007 on November 14, 2019, 02:14:50 pm
thanks for this, I assume it comes from the netdata plugin which also monitors squid.
Where would I put those manual overwrites?
Title: Re: Limit squid logging to avoid unnecessary messages
Post by: hbc on November 14, 2019, 02:21:07 pm
squid.conf
Title: Re: Limit squid logging to avoid unnecessary messages
Post by: skywalker007 on November 14, 2019, 02:23:43 pm
Am I not overwriting it once I do a change in the UI then?
Title: Re: Limit squid logging to avoid unnecessary messages
Post by: JonathanLee on March 18, 2024, 04:31:17 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:

Code: [Select]
acl exclude dst localhost
access_log none exclude

Thank you this also works in other Squid servers.