- Use AccessLogValve.
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 8 Jan 2007 20:54:24 +0000 (20:54 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 8 Jan 2007 20:54:24 +0000 (20:54 +0000)
- Update docs with buffered field.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@494193 13f79535-47bb-0310-9956-ffa450edef68

conf/server.xml
res/confinstall/server_2.xml
webapps/docs/config/valve.xml

index cca161b..08e11f7 100644 (file)
         <!-- 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"/>
         -->
 
index 7fdb793..fd54e10 100644 (file)
@@ -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"/>
         -->
 
index 6c04257..0695c3b 100644 (file)
       <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">
         </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>
+
     </attributes>
 
     <p>Values for the <code>pattern</code> attribute are made up of literal