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 ChristopherSchultz
Date Sat, 02 Jun 2012 17:15:19 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 ChristopherSchultz:
http://wiki.apache.org/tomcat/AccessLogValve?action=diff&rev1=6&rev2=7

Comment:
Slight clarifications.

  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.
  
- 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.
+ 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 for
a particular host, 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.
+ Starting with Tomcat 7, an AccessLogValve is already configured for the default host in
conf/server.xml file that is shipped with Tomcat.
  
  {{{
  <Valve
@@ -18, +18 @@

  />
  }}}
  
+ See the [[http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html#Access_Log_Valve|documentation
for AccessLogValve]] for a description of what all the options above do.
+ 
  ----
  [[CategoryFAQ]]
  

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


Mime
View raw message