sharanggupta commented on issue #4362: URL: https://github.com/apache/logging-log4j2/issues/4362#issuecomment-6085814489
Thanks for the detailed analysis, @MartijnVisser. Opened #4398 against `2.x`: `OnStartupTriggeringPolicy` now rounds both the file time and the JVM start time with `RollingFileManager.alignMillisToSecond` before comparing them, so a file created by the running JVM no longer looks older than the JVM. I kept the rounding of #3068 and rounded both sides because the manager also sets an unrounded time after a rollover. The trade-off is documented in the PR: a file created by an earlier process less than about a second before the JVM start is no longer rolled at startup. -- 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]
