Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.7
-
None
-
None
Description
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}
.log.gz">
....
....
</RollingFile>
Attachments
Issue Links
- is duplicated by
-
LOG4J2-3038 RollingFileAppender ignores TimeZone-Pattern
- Closed
-
LOG4J2-3551 TimeBasedTriggeringPolicy time zone bug
- Closed
- relates to
-
LOG4J2-1931 Wrong Date is calculated for rollover filePattern with timezone parameter
- Open
- links to