kelunik commented on issue #3068: URL: https://github.com/apache/logging-log4j2/issues/3068#issuecomment-2422260397
I have been thinking about this some more, and the modified time seems to be broken as well, imagine: - Log event gets logged at 23:59:59 - GC starts stop-the-world event for 2 seconds - Log event gets written to file at 00:00:01 Then the date is also wrong. However, it would be newer than expected and avoid a rotation instead of causing an additional rotation. This still leaves the edge case if events are only logged in the first 10ms of the rotation period, but none after that. -- 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: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org