tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Frederic <jfcl...@gmail.com>
Subject Re: svn commit: r536456 - /tomcat/tc6.0.x/trunk/webapps/docs/config/valve.xml
Date Thu, 10 May 2007 11:32:43 GMT
On Wed, 2007-05-09 at 19:58 +0900, Takayuki Kaneko wrote:
> 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.

The \" doesn't work... The server.xml can't be parsed ;-(

Cheers

Jean-Frederic

> 
> 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
> 


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


Mime
View raw message