the javadoc:
https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/valves/AccessLogValve.html


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-07-02 11:54 GMT-07:00 Christopher Schultz <ch...@christopherschultz.net
>:

> Romain,
>
> On 7/2/15 2:46 PM, Romain Manni-Bucau wrote:
> > access log valve documents you can use %t{simple date format}:
> >
> >  * <li><b>%t{format}</b> - Date and time, in any format supported by
> > SimpleDateFormat
> >
> > but actually the way the parsing is done (checked on 7.0.61 but seems the
> > same code on dev ones - 7 and 8) it is %{format}t
> >
> > typo?
>
> Which document are you looking at?
>
>
> http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html
> and
> http://tomcat.apache.org/tomcat-8.0-doc/config/valve.html
>
> both agree that "%{xxx}t" is the right pattern to use.
>
> -chris
>
>

Reply via email to