tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tomcat Wiki] Update of "AccessLogValve" by KonstantinKolinko
Date Fri, 01 Jun 2012 22:32:09 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "AccessLogValve" page has been changed by KonstantinKolinko:
http://wiki.apache.org/tomcat/AccessLogValve?action=diff&rev1=5&rev2=6

Comment:
Expand the text, clarify server.xml question

- First read this http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html and http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/valves/AccessLogValve.html
+ First read the [[http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html|Valve chapter]]
in ''Configuration Reference Guide''. There is also [[http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/valves/AccessLogValve.html|javadoc]]
for the class.
  
- Add something like this to your context file (also can be added to Host) (or is it conf/server.xml
file?)
+ The following is an example of AccessLogValve configuration. If you want it to log requests
processed by your web application, add it to the [[http://tomcat.apache.org/tomcat-7.0-doc/config/context.html|context
file]] of your application (`META-INF/context.xml`). If you want it to log all requests, add
it to the '''Host''' element in {{{conf/server.xml}}} file.
+ 
+ Starting with Tomcat 7 an AccessLogValve is already configured in the default conf/server.xml
file that is shipped with Tomcat.
  
  {{{
  <Valve

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


Mime
View raw message