vy commented on issue #3965: URL: https://github.com/apache/logging-log4j2/issues/3965#issuecomment-3449968402
@mourya-satyam-888, AFAIK, Log4j indeed does not strive to preserve the source timestamp. This need is new to us – would you mind providing a little bit more context, please? What is the technical obstacle you're trying to overcome by preserving the timestamp? Alternatively, you can programmatically implement this yourself by implementing your custom `RolloverListener` – see `RollingDirectSize3490Test.java` for inspiration: https://github.com/apache/logging-log4j2/blob/9643c2220f7816e5653fcc63b28c3d4d7ac26b1e/log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingDirectSize3490Test.java#L79-L80 -- 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]
