You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "NamHyoekJoon (Jira)" <ji...@apache.org> on 2022/07/15 01:52:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17567044#comment-17567044 ] 

NamHyoekJoon commented on LOG4J2-1631:
--------------------------------------

My question was changed to [Resolved] and linked to this question.

Is the problem fixed and connected?

Or was it linked because it was a duplicate question?

I really want to solve this problem.

> 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: Major
>
> 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)