From 6f38eb24c09a7b2490d75c445f0b6da5c6daed59 Mon Sep 17 00:00:00 2001 From: Toby Sutor <55087308+toby-sutor@users.noreply.github.com> Date: Mon, 17 Jan 2022 14:07:10 +0100 Subject: [PATCH 1/2] [docs] Add note to Elasticsearch logging that log4j customization is out of support scope --- docs/reference/setup/logging-config.asciidoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/reference/setup/logging-config.asciidoc b/docs/reference/setup/logging-config.asciidoc index d744b61491c9a..348b2da2637b5 100644 --- a/docs/reference/setup/logging-config.asciidoc +++ b/docs/reference/setup/logging-config.asciidoc @@ -14,6 +14,9 @@ If you run {es} from the command line, {es} prints logs to the standard output [[loggin-configuration]] === Logging configuration +NOTE: Elastic recommends keeping the Log4j configuration that is shipped by default. +Customizations of the Log4j configuration are outside the scope of Elastic support. + Elasticsearch uses https://logging.apache.org/log4j/2.x/[Log4j 2] for logging. Log4j 2 can be configured using the log4j2.properties file. Elasticsearch exposes three properties, `${sys:es.logs.base_path}`, From 61942239c4128cafb1f8cc1df2e46b24fd9d4399 Mon Sep 17 00:00:00 2001 From: Quin Hoxie Date: Tue, 25 Jan 2022 13:49:40 -0800 Subject: [PATCH 2/2] Update language for default logging recommendation Co-authored-by: Adam Locke --- docs/reference/setup/logging-config.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/setup/logging-config.asciidoc b/docs/reference/setup/logging-config.asciidoc index 348b2da2637b5..8ef1e7223eaf2 100644 --- a/docs/reference/setup/logging-config.asciidoc +++ b/docs/reference/setup/logging-config.asciidoc @@ -14,8 +14,8 @@ If you run {es} from the command line, {es} prints logs to the standard output [[loggin-configuration]] === Logging configuration -NOTE: Elastic recommends keeping the Log4j configuration that is shipped by default. -Customizations of the Log4j configuration are outside the scope of Elastic support. +IMPORTANT: Elastic strongly recommends using the Log4j 2 configuration that is shipped by default. + Elasticsearch uses https://logging.apache.org/log4j/2.x/[Log4j 2] for logging. Log4j 2 can be configured using the log4j2.properties