tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takayuki Kaneko" <kaneko...@gmail.com>
Subject Re: svn commit: r536456 - /tomcat/tc6.0.x/trunk/webapps/docs/config/valve.xml
Date Wed, 09 May 2007 10:58:36 GMT
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, jfclere@apache.org <jfclere@apache.org> 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: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message