dajiaohuang opened a new pull request, #4370: URL: https://github.com/apache/logging-log4j2/pull/4370
Fixes #4349. The default map rendering now prefixes `"`, `\\` and `]` in each rendered value, as required by RFC 5424. This covers MapMessage and StructuredDataMessage, which shares its map formatting. Rfc5424Layout keeps its existing specialized rendering. Tests cover all three delimiters in both message types. Validation: - `./mvnw -pl :log4j-api-test -am -Dtest=MapMessageTest,StructuredDataMessageTest -Dsurefire.failIfNoSpecifiedTests=false test` — 44 tests passed. - `./mvnw -pl :log4j-api,:log4j-api-test spotless:check` — passed. -- 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]
