You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter Menzel <pe...@imise.uni-leipzig.de> on 2005/10/13 13:39:09 UTC

AccessLogValve with POST

Hi there,

I configured a AccessLogValve in the <Context> of my webapp with the 
common pattern:
<Valve className="org.apache.catalina.valves.AccessLogValve"   
prefix="mywebapp" suffix=".log"  pattern="common" />

Unfortunately it only logs the parameters of GET requests, i.e. the 
query string.
How can I configure the Valve to log POST parameters, too ?

Regards, Peter Menzel


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: AccessLogValve with POST

Posted by Tim Funk <fu...@joedog.org>.
You can't. I doubt you want post data in your acess log since POST data can 
be large (very large, megabytes large).


-Tim

Peter Menzel wrote:

> Hi there,
> 
> I configured a AccessLogValve in the <Context> of my webapp with the 
> common pattern:
> <Valve className="org.apache.catalina.valves.AccessLogValve"   
> prefix="mywebapp" suffix=".log"  pattern="common" />
> 
> Unfortunately it only logs the parameters of GET requests, i.e. the 
> query string.
> How can I configure the Valve to log POST parameters, too ?
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org