vitoriabentes opened a new pull request, #4514: URL: https://github.com/apache/logging-log4j2/pull/4514
Fixes #4491. When Jackson 3 parses YAML configuration, YAML 1.1 boolean aliases such as `yes` and `on` are retained as strings and incorrectly interpreted as `false`. This change normalizes YAML 1.1 aliases only when converting boolean attributes in Jackson 3 configurations, while preserving string-valued attributes such as appender names and references. It also covers `includeLocation`. A regression test verifies that `append: yes` preserves existing file contents. Tests are provided — `mvn -pl log4j-core-test -Dtest=YamlBooleanAliasesTest surefire:test` passed (17 tests); `.\mvnw.cmd -pl log4j-core-test surefire:test@test-with-jackson-3` passed (2 tests). -- 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]
