Re: access log valve with custom format

2015-07-02 Thread Romain Manni-Bucau
Thanks! Yes now there is AbstractAccessLogValve but was not in v7. 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

access log valve with custom format

2015-07-02 Thread Romain Manni-Bucau
Hi guys, access log valve documents you can use %t{simple date format}: * lib%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? Romain

Re: access log valve with custom format

2015-07-02 Thread Christopher Schultz
Romain, On 7/2/15 2:46 PM, Romain Manni-Bucau wrote: access log valve documents you can use %t{simple date format}: * lib%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

Re: access log valve with custom format

2015-07-02 Thread Romain Manni-Bucau
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

Re: access log valve with custom format

2015-07-02 Thread Christopher Schultz
Romain, On 7/2/15 2:54 PM, Christopher Schultz wrote: Romain, On 7/2/15 2:46 PM, Romain Manni-Bucau wrote: access log valve documents you can use %t{simple date format}: * lib%t{format}/b - Date and time, in any format supported by SimpleDateFormat but actually the way the parsing is

Re: access log valve with custom format

2015-07-02 Thread Christopher Schultz
Romain, On 7/2/15 3:02 PM, Romain Manni-Bucau wrote: Thanks! Yes now there is AbstractAccessLogValve but was not in v7. Fixed in all 7/8/trunk. -chris 2015-07-02 12:00 GMT-07:00 Christopher Schultz ch...@christopherschultz.net : Romain, On 7/2/15 2:54 PM, Christopher Schultz wrote: