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 "Wassi Sandhu (JIRA)" <ji...@apache.org> on 2016/10/06 14:43:20 UTC

[jira] [Created] (LOG4J2-1631) RollingFile appender does not rollover file as per TimeZone specified

Wassi Sandhu created LOG4J2-1631:
------------------------------------

             Summary: RollingFile appender does not rollover file  as per TimeZone specified
                 Key: LOG4J2-1631
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1631
             Project: Log4j 2
          Issue Type: Bug
            Reporter: Wassi Sandhu


RollingFile appender does not rollover file  as per TimeZone specified. The appender roll over according to LOCAL time in spite of providing TimeZone in filePattern

Expected: The rollover should happen as per specified TimeZone

 <RollingFile name="RollingFile" fileName="${baseDir}/app.log"
          filePattern="${baseDir}/$${date:yyyy-MM}{GMT}/app-%d{yyyy-MM-dd}{GMT}.log.gz">
....
....
 </RollingFile>



--
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