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
|