In server.xml uncomment this:
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
for the request dumper,
or uncomment and tweak this:
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
Or as they say in the server.xml comments a servlet filter to sit in front of the Axis servlet can be used to write into your application's logging facility.
Alex.
Marko Käis wrote:
Hi,
I’m using WSDL2Java generated code for my services. Every once in a while tomcat crashes and needs restarting.
I would like to log all incoming requests before axis begins to parse them. Is there any ideas how to do this (where should I write my logging sentence)?
Marko