https://bz.apache.org/bugzilla/show_bug.cgi?id=59871
Bug ID: 59871
Summary: Impossible to change datetime format in
OneLineFormatter/Use sane (sortable) format
Product: Tomcat 8
Version: 8.5.3
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
The OneLineFormatter is a tremendous improvement to the formatter shipped with
default Java, though one cannot change the datetime format nor does it have a
sane, standardized, sortable format. I don't want to write a custom formatter
or fork this one just to change this property.
I would actually expect that the formatter would use wellknown ISO 8601
datetime for the default output: yyyy-MM-dd'T'HH:mm:ss.SSS. Alternatively, one
can use String#format, though I do not know wether this will beat the benefit
of the DateFormatCache.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]