Details
-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
1.0.6
-
None
-
None
Description
I have the following timestamp element:
<timestamp key="compactTimestamp" datePattern="yyyyMMdd'T'HHmmss'Z'"/>
for use in a file appender:
<file>${LOG_DIR}/translator-${compactTimestamp}.log</file>
Note the `Z' in the date pattern. However, the date that is generated is in local time. It would be preferable to have a GMT option as found in the pattern element:
<pattern>%-80(%d
{yyyy-MM-dd'T'HH:mm:ss.SSS'Z',GMT}%-5p [%t:%C
{0}.%M]) %m%n</pattern>
I am working around this by starting the VM with -Duser.timezone=UTC.