> 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


Reply via email to