vy commented on issue #4010: URL: https://github.com/apache/logging-log4j2/issues/4010#issuecomment-3690086877
@IVolzhev, thanks so much for the report. Log4j `2.25.0` had a major face lift to its date & time formatting routines — see [the associated release notes](https://logging.apache.org/log4j/2.x/release-notes.html#release-notes-2-25-0-instant-format). All formatting directives are aligned to behave like [DateTimeFormatter](https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html). As a result, certain directives (e.g., `n`) started behaving differently. I suggest you to replace your date & time formatting pattern with one of the following instead: 1. `yyyy-MM-dd HH:mm:ss.SSS` 2. `yyyy-MM-dd HH:mm:ss.n` I expect this to fix your issue, and hence, I'm closing the issue. If you disagree, please feel free to reach out. -- 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]
