You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Apache Wiki <wi...@apache.org> on 2011/07/30 00:41:16 UTC

[Tomcat Wiki] Update of "AccessLogValve" by KonstantinKolinko

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=3&rev2=4

Comment:
Update documentation links. Correct class name. Add category link. BTW, FastCommonAccessLogValve never worked with such pattern as written here.

- First read this http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
+ 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
  
  Add something like this to your context file (also can be added to Host)
  
  {{{
  <Valve
-     className="org.apache.catalina.valves.FastCommonAccessLogValve"
+     className="org.apache.catalina.valves.AccessLogValve"
-     directory="${catalina.home}/logs/"
+     directory="${catalina.base}/logs"
      prefix="access_log"
      fileDateFormat="yyyy-MM-dd.HH"
      suffix=".log"
@@ -16, +16 @@

  />
  }}}
  
+ ----
+ [[CategoryFAQ]]
+ 

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