From c6be0b2dcdba55ff0ab1583099cab86a5d96d98f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Acu=C3=B1a?= Date: Tue, 14 Dec 2021 17:11:41 -0300 Subject: [PATCH] Disable log4j java option added --- .../opendistro-elasticsearch/templates/jvm.options.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/opendistro/opendistro-elasticsearch/templates/jvm.options.j2 b/roles/opendistro/opendistro-elasticsearch/templates/jvm.options.j2 index c4758969..9d4911cf 100644 --- a/roles/opendistro/opendistro-elasticsearch/templates/jvm.options.j2 +++ b/roles/opendistro/opendistro-elasticsearch/templates/jvm.options.j2 @@ -94,3 +94,6 @@ -Dclk.tck=100 -Djdk.attach.allowAttachSelf=true -Djava.security.policy=file:///usr/share/elasticsearch/plugins/opendistro_performance_analyzer/pa_config/es_security.policy + +## Disable log4j +-Dlog4j2.formatMsgNoLookups=true \ No newline at end of file