> -----Original Message-----
> From: spcatch55 [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 01, 2006 11:05 AM
> To: [email protected]
> Subject: [squid-users] can squid log form parameters?
> 
> 
> Is there a way to enable the squid logs (access.log)
> to include the form parameters that were part of the
> GET request?  (or even POST requests if possible)
> 
> Right now, it only displays the url of the form
> handler, leaving out everything after the question
> mark.
> 

>From squid.conf.default:

#  TAG: strip_query_terms
#       By default, Squid strips query terms from requested URLs before
#       logging.  This protects your user's privacy.
#
#Default:
# strip_query_terms on

So set strip_query_terms off, and that will log GET requests.

As for POST requests, they have the query terms as part of the request body, 
and I know of no way to log that with Squid.

Chris

Reply via email to