ppkarwasz commented on PR #4385: URL: https://github.com/apache/logging-log4j2/pull/4385#issuecomment-7084485323
@ramanathan1504, I split #4226 in f7cd5fc05c: - I kept the startup delay fix (the bound in `CronExpression.getTimeBefore` and the `fileTime > 0` check in `CronTriggeringPolicy.initialize`): it is a pure performance fix, with no change in behavior. - I reverted the change to the names of direct write files (named after the rollover period rather than the startup time), together with `testDirectWriteFileNameUsesPeriodStart`. Users would see different file names after upgrading, so I think it belongs in `2.27.0`, not in a patch release. The changelog entry now only covers the startup delay, as `fixed`. Note that `testDirectWriteFileNameUsesPeriodStart` only checks something on weekdays other than Sunday: on a Sunday, the start of its weekly period is today, so it passes even without the fix. I also cherry-picked #4440 in 2564173d13, since it fixes the data loss reported against `2.26.1` in #4439. It applies cleanly on top of the startup delay fix alone; I only had to restore two test imports that were removed with the test above. The cron and direct write tests pass (41 tests). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
