Search squid archive

RE: can squid log form parameters?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: spcatch55 [mailto:spcatch55@xxxxxxxxx]
> Sent: Wednesday, February 01, 2006 11:05 AM
> To: squid-users@xxxxxxxxxxxxxxx
> Subject:  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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux