<Engine name="Catalina"defaultHost="localhost" debug="9">
<!-- The request dumper valve dumps useful debugginginformation about
the request headers and cookies that were received, and theresponse
headers and cookies that were sent, for all requests receivedby
this instance of Tomcat. If you care only about requests to a
particular virtual host, or a particular application, nestthis
element inside the corresponding <Host> or<Context> entry instead.
For a similar mechanism that is portable to all Servlet 2.4
containers, check out the "RequestDumperFilter"Filter in the
example application (the source for this filter may be foundin
"$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
Request dumping is disabled by default. Uncomment the following
element to enable it. -->
<!-- This valve is used to dump request information.Useful when troubleshooting
web application -->
<ValveclassName="org.apache.catalina.valves.RequestDumperValve"/>
<!-- This valve used to monitor all access to this engine -->
<ValveclassName="org.apache.catalina.valves.AccessLogValve"
directory="/root/tomcat-access-log"
pattern="common"/>
/valve>
聯(lián)系客服