[squid-users] filter access.log
Amos Jeffries
squid3 at treenet.co.nz
Fri Aug 28 08:54:00 UTC 2020
On 28/08/20 7:18 pm, Wesley Mouedine Assaby wrote:
>
> Is it possible to remove log that is not authenticated (ldap) ?
Of course.
With the current Squid versions use a "note" type ACL to match any
details produced by helpers. e.g. the "user=" sent by the authentication
helper.
For example:
acl hasUser note user
access_log ... logformat=squid hasUser
Or,
acl hasUser note user
access_log none !hasUser
access_log ...
Amos
More information about the squid-users
mailing list