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/11 08:45:20 UTC

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

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

Wassi Sandhu updated LOG4J2-1631:
---------------------------------
    Affects Version/s: 2.7

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