Author: remm Date: Mon Jan 8 12:54:24 2007 New Revision: 494193 URL: http://svn.apache.org/viewvc?view=rev&rev=494193 Log: - Use AccessLogValve. - Update docs with buffered field.
Modified: tomcat/tc6.0.x/trunk/conf/server.xml tomcat/tc6.0.x/trunk/res/confinstall/server_2.xml tomcat/tc6.0.x/trunk/webapps/docs/config/valve.xml Modified: tomcat/tc6.0.x/trunk/conf/server.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/conf/server.xml?view=diff&rev=494193&r1=494192&r2=494193 ============================================================================== --- tomcat/tc6.0.x/trunk/conf/server.xml (original) +++ tomcat/tc6.0.x/trunk/conf/server.xml Mon Jan 8 12:54:24 2007 @@ -106,7 +106,7 @@ <!-- Access log processes all example. Documentation at: /docs/config/valve.html --> <!-- - <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve" directory="logs" + <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/> --> Modified: tomcat/tc6.0.x/trunk/res/confinstall/server_2.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/confinstall/server_2.xml?view=diff&rev=494193&r1=494192&r2=494193 ============================================================================== --- tomcat/tc6.0.x/trunk/res/confinstall/server_2.xml (original) +++ tomcat/tc6.0.x/trunk/res/confinstall/server_2.xml Mon Jan 8 12:54:24 2007 @@ -64,7 +64,7 @@ <!-- Access log processes all example. Documentation at: /docs/config/valve.html --> <!-- - <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve" directory="logs" + <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/> --> Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/valve.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/valve.xml?view=diff&rev=494193&r1=494192&r2=494193 ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/config/valve.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/valve.xml Mon Jan 8 12:54:24 2007 @@ -61,11 +61,7 @@ <attribute name="className" required="true"> <p>Java class name of the implementation to use. This MUST be set to <strong>org.apache.catalina.valves.AccessLogValve</strong> to use the - default access log valve. To use a more optimized access log valve - designed for production use, you MUST set this attribute to - <strong>org.apache.catalina.valves.FastCommonAccessLogValve</strong>. - In this case, only the <code>common</code> and <code>combined</code> - patterns are supported.</p> + default access log valve.</p> </attribute> <attribute name="directory" required="false"> @@ -128,6 +124,13 @@ The date format also decides how often the file is rotated. If you wish to rotate every hour, then set this value to: <tt>yyyy-MM-dd.HH</tt> + </p> + </attribute> + + <attribute name="buffered" required="false"> + <p>Deafult true. Flag to determine if logging will be buffered. + If set to false, then access logging will be written after each + request. </p> </attribute> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]