[squid-users] log problem
Amos Jeffries
squid3 at treenet.co.nz
Wed Jan 24 14:44:31 UTC 2018
On 25/01/18 02:59, Alex Gutiérrez Martínez wrote:
> Hello comunity, im using squid 3.3.8 on ubuntu 14.04.02 LTS. I have
> implemented sqstat on this server to monitor my bandwidth. My problem is
> simple, i need to remove from my log the line created by sqstat.
>
> 1516801891.375 1 10.28.27.36 TCP_MISS/200 25526 GET
> cache_object://localhost/active_requests - HIER_NONE/- text/plain
>
>
> I tried using "access_log" directive, but until now the only thing i
> acomplish is stop my squid using a bad configuration.
>
> Does anyone have an idea of how to solve this problem?
>
access_log is the way to go, using the 'manager' ACL.
Somewhat like this:
access_log /var/log/squid/access.log squid !manager
... or if you want to log other manager access *except* for the sqstat
ones. Then you will need an ACL that uniquely identifies sqstat instead
of manager.
Amos
More information about the squid-users
mailing list