Browse Source

[doc] Document workaround for slow log levels (#75438)

settings for slow log levels are removed in v8. This commit adds a
documentation to how to mimic the behaviour
relates #57591
relates #73718
Przemyslaw Gomulka 4 years ago
parent
commit
1127f4fd31
1 changed files with 9 additions and 0 deletions
  1. 9 0
      docs/reference/index-modules/slowlog.asciidoc

+ 9 - 0
docs/reference/index-modules/slowlog.asciidoc

@@ -129,3 +129,12 @@ the original document format is important, you can turn off reformatting by sett
 logged "as is" and can potentially span multiple log lines.
 
 The index slow log file is configured in the `log4j2.properties` file.
+
+[discrete]
+=== Slow log levels
+
+You can mimic the search or indexing slow log level by setting appropriate
+threshold making "more verbose" loggers to be switched off.
+If for instance we want to simulate index.indexing.slowlog.level = INFO
+then all we need to do is to set
+index.indexing.slowlog.threshold.index.debug and index.indexing.slowlog.threshold.index.trace to -1