This content has been marked as final.
Show 1 reply
-
1. Re: Enable logging for requests, responses
f_marchioni Aug 18, 2009 9:46 AM (in response to maeckie)At tomcat level, you can have a dump of the request and an access log as well by uncommenting the following Valves into server.xml
<Valve className="org.apache.catalina.valves.RequestDumperValve" /> <Valve className="org.apache.catalina.valves.AccessLogValve" prefix="localhost_access_log." suffix=".log" pattern="common" directory="${jboss.server.log.dir}" resolveHosts="false" />
As for the response I guess you might programmatically dump both request and response using a Servlet filter....
hope it helps
Francesco