This repository was archived by the owner on Jun 24, 2022. It is now read-only.
This repository was archived by the owner on Jun 24, 2022. It is now read-only.
[7.1.1] don't overwrite log4j2.properties with 6.x non-JSON version #577
Closed
Description
Elasticsearch version: 7.1.1
Role version: 7.1.1
JVM version (java -version
): bundled JDK
OS version (uname -a
if on a Unix-like system): Linux hostname 4.18.0-18-generic #19~18.04.1-Ubuntu SMP Fri Apr 5 10:22:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behaviour:
The template file templates/log4j2.properties.j2
shipped with the role is from version 6 and logs in plain text and not JSON.
We would prefer an option to not overwrite the file installed by the package at all, for example by setting es_config_log4j2: null
.