You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Remko Popma (JIRA)" <ji...@apache.org> on 2014/09/19 19:03:35 UTC

[jira] [Resolved] (LOG4J2-698) How does log4j2 handle daylight savings?

     [ https://issues.apache.org/jira/browse/LOG4J2-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remko Popma resolved LOG4J2-698.
--------------------------------
    Resolution: Not a Problem

Closing since the question was answered. Feel free to reopen if required.

> How does log4j2 handle daylight savings?
> ----------------------------------------
>
>                 Key: LOG4J2-698
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-698
>             Project: Log4j 2
>          Issue Type: Question
>          Components: Layouts
>    Affects Versions: 2.0-rc2
>         Environment: Ubuntu 12.04
>            Reporter: Bryan Hsueh
>
> How come {{<PatternLayout pattern="%d\{HH:mm:ss.SSS\}\{CST\} %\-5level- %msg%n"/>}}  does not produce the same log timestamp as {{<PatternLayout pattern="%d\{HH:mm:ss.SSS\}\{GMT-5\} %\-5level- %msg%n"/>}}? 
> Isn't CST GMT-5 right now?  It's logging CST as if it's GMT-6, which isn't until winter.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org