From b800ffd366436a1b29d39a60a0ee53729caa6ae7 Mon Sep 17 00:00:00 2001 From: Abdon Pijpelink Date: Thu, 23 Mar 2023 14:54:17 +0100 Subject: [PATCH] [DOCS] Show how to reset a dynamically-adjusted log level (#94573) (#94675) --- docs/reference/setup/logging-config.asciidoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/reference/setup/logging-config.asciidoc b/docs/reference/setup/logging-config.asciidoc index b93b37022f8af..d6a66a21cd431 100644 --- a/docs/reference/setup/logging-config.asciidoc +++ b/docs/reference/setup/logging-config.asciidoc @@ -162,6 +162,19 @@ PUT /_cluster/settings } ---- +To reset a logger's verbosity to its default level, set the logger setting to +`null`: + +[source,console] +---- +PUT /_cluster/settings +{ + "persistent": { + "logger.org.elasticsearch.discovery": null + } +} +---- + Other ways to change log levels include: 1. `elasticsearch.yml`: