![]() |
|
|
|
|
Issue Type:
|
New Feature
|
|
Affects Versions:
|
1.0.6 |
|
Assignee:
|
Logback dev list
|
|
Created:
|
20/Jun/12 11:02 PM
|
|
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.
|
|
Project:
|
logback
|
|
Priority:
|
Major
|
|
Reporter:
|
Bill Wohler
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev