mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-22 06:07:55 -04:00
in 2.17.2 (patch release) log4j has made a refactoring that requires a Configuration to be manually passed into the created PatternLayout If the Configuration is not passed, the System Variable lookup will not work This results in cluster.name field not being populated in logs if ESv7 layout was used on ESv8 cluster (cloud) This commit creates a PatternLayout with a DefaultConfiguration (the same was used previous to the refactoring) Also adds back tests that verifies ESv8 cluster with ESv7 logging config. We still have that situation in the cloud so it is better to have tests around this. relates apache/logging-log4j2#1551 |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
es-v7-log4j2.properties |