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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to