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

Piotr Karwasz resolved LOG4J2-1631.
-----------------------------------
    Resolution: Fixed

> 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
>    Affects Versions: 2.7
>            Reporter: Wassi Sandhu
>            Priority: Minor
>             Fix For: 2.20.0
>
>
> 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
(v8.20.10#820010)

Reply via email to