https://bz.apache.org/bugzilla/show_bug.cgi?id=59871

--- Comment #7 from Andrey Zykov <andreyzy...@gmail.com> ---
(In reply to Mark Thomas from comment #5)
> This is now configurable in 9.0.x (for 9.0.0.M10 onwards) and 8.5.x (for
> 8.5.5) onwards.

Hello Mark! I'm trying to change timestamp for OneLineFormatter on my Tomcat
8.5.12 but get wrong format. Could you please check?

part of my logging.properties file:
java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter
org.apache.juli.OneLineFormatter.timeFormat = yyyy-MM-dd'T'HH:mm:ss.SSSZ

But in log I get:

2017-04-06T10:02:23.###+0200.546 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine:
Apache Tomcat/8.5.12

As you can see - there are ### instead of milliseconds, and milliseconds are at
the end of timestamp.

I've tried set TimeFormat to "EEE, d MMM yyyy HH:mm:ss Z" and get:
Thu, 6 Apr 2017 10:06:20 +0200.842

Again - milliseconds are at the end of timestamp.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to