Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
2.20.0
-
None
-
None
-
java 17
Spring boot 2.7.9
log4j2 2.20
Description
<RollingFile name="DefaultAppender" fileName="${sys:LOG_PATH}/${sys:DEFAULT_LOG_NAME}" filePattern="./log/backup/default/app2-%d{yyyy-MM-dd HH:mm:ss}.log.gz"> <PatternLayout pattern="${sys:FILE_LOG_PATTERN}"/> <Policies> <CronTriggeringPolicy schedule="0 33 18 * * ? *" /> <SizeBasedTriggeringPolicy size="10 MB" /> </Policies> </RollingFile>
Photo tested with TimeZone removed.
My server time is UTC, pointing at 18:00 on March 11th.
However, the title of the actual rolled file refers to "March 10".
is this a bug?