Expand the common pattern as an example to users
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 3 Jun 2010 14:33:16 +0000 (14:33 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 3 Jun 2010 14:33:16 +0000 (14:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@951012 13f79535-47bb-0310-9956-ffa450edef68

conf/server.xml

index 25b1310..338f430 100644 (file)
         -->
 
         <!-- Access log processes all example.
-             Documentation at: /docs/config/valve.html -->
+             Documentation at: /docs/config/valve.html
+             Note: The pattern used is equivalent to using pattern="common" -->
         <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"  
-               prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
+               prefix="localhost_access_log." suffix=".txt"
+               pattern="%h %l %u %t &quot;%r&quot; %s %b" resolveHosts="false"/>
 
       </Host>
     </Engine>