Re: [squid-users] Squid only record ext ips...

From: Amos Jeffries <squid3@dont-contact.us>
Date: Tue, 28 Aug 2007 11:54:22 +1200 (NZST)

> The half is done.
>
> After comment the variable "client_netmask" the squid started record the
> local
> IP in the access log, but still record too every else IPs... I just want
> the
> local ip.
>

Ok, you found that. Now look at the documentation of "logformat".

"
>a Client source IP address
>A Client FQDN
>p Client source port
                <A Server IP address or peer name
                la Local IP address (http_port)
"

By default squid will log the client IP, and in some std formats the
upstream server.

if you are still confused please post a small section of the access log so
we can see what the problem is and/or explain it a bit more.

Amos
Received on Mon Aug 27 2007 - 17:54:24 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT