Hi,

IMO, you should arrenge the document like this.
-    default) corresponds to <strong>%h %l %u %t "%r" %s %b"</strong>.</p>
+    default) corresponds to <strong>%h %l %u %t "%r" %s %b</strong>.</p>

"common" pattern is defined at org.apache.catalina.valves.Constant
       public static final String COMMON_PATTERN = "%h %l %u %t \"%r\" %s %b";

Double quotations are needed because %r would have white spaces.

Regards,

-Takayuki

On 5/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: jfclere
Date: Wed May  9 01:14:37 2007
New Revision: 536456

URL: http://svn.apache.org/viewvc?view=rev&rev=536456
Log:
Arrange the default value of pattern.

Modified:
    tomcat/tc6.0.x/trunk/webapps/docs/config/valve.xml

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=536456&r1=536455&r2=536456
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/config/valve.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/config/valve.xml Wed May  9 01:14:37 2007
@@ -179,7 +179,7 @@


     <p>The shorthand pattern name <code>common</code> (which is also the
-    default) corresponds to <strong>%h %l %u %t "%r" %s %b"</strong>.</p>
+    default) corresponds to <strong>"%h %l %u %t %r %s %b"</strong>.</p>

     <p>The shorthand pattern name <code>combined</code> appends the
     values of the <code>Referer</code> and <code>User-Agent</code> headers,



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to