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 "Bryan Hsueh (JIRA)" <ji...@apache.org> on 2014/07/02 23:53:25 UTC

[jira] [Created] (LOG4J2-698) How do I adjust for daylight savings?

Bryan Hsueh created LOG4J2-698:
----------------------------------

             Summary: How do I adjust for 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


I am using <PatternLayout pattern="%d{HH:mm:ss.SSS}{CST} %-5level- %msg%n"/> and consuming time in GMT.  When I cross daylight savings, my log hour changes.  How do I make this consistent?  Specifically, I'm UTC-5 right now, and come winter, I want to log as UTC-6.  Thanks.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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