From 05124b99914a33d3536ca3a3f54b2602727c979a Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 15 Dec 2020 17:25:15 +0000 Subject: [PATCH] Fix Log4J config example in docs We lost the `logger.transport.name` line in #65169 and I incorrectly extrapolated from what was left and mangled it further in #66318. This commit fixes things. --- docs/reference/setup/logging-config.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/setup/logging-config.asciidoc b/docs/reference/setup/logging-config.asciidoc index 2976a3236225..1a4e8e88667d 100644 --- a/docs/reference/setup/logging-config.asciidoc +++ b/docs/reference/setup/logging-config.asciidoc @@ -179,7 +179,8 @@ This is most appropriate when debugging a problem on a single node. -- [source,properties] ---- -logger.org.elasticsearch.discovery.level = debug +logger.discovery.name = org.elasticsearch.discovery +logger.discovery.level = debug ---- This is most appropriate when you already need to change your Log4j 2