[squid-users] Re: Incomplete URLs in log file? ie, no search engine search strings

From: Joost de Heer <[email protected]>
Date: Tue, 1 Mar 2005 23:49:07 +0100 (CET)

> I've been trying to create a report for my users to display a list of the
> search keywords entered into popular search engines.. Upon looking
> at the Squid logs, I see that a lot of the URLs are truncated after the
> '?' which cut out the most important part!
>
> 1108678634.647 372 192.168.122.123 TCP_MISS/200 920 GET
> http://images.google.com.au/imgres? username DIRECT/216.239.53.104
> text/html
>
> I don't think I have any special config for logging - the only thing I
> can think off is that I have follow x forwarded for installed with
> SquidGuard.
>
> Can anyone help?

Tag Name strip_query_terms
Usage strip_query_terms on|off

Description
Squid by default does not log query parameters. These parameters are
however forwarded to the server verbatim. If we want to enable logging of
query parameters, the strip_query_terms directive can be used .

By default, Squid strips query terms from requested URLs before logging.
This protects your user's privacy

Default strip_query_terms on
Received on Tue Mar 01 2005 - 15:49:14 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:01 MST