Skip to content

Commit

Permalink
[doc] Document workaround for slow log levels
Browse files Browse the repository at this point in the history
settings for slwo log levels are removed in v8. This commit adds a
documentation to how to mimic the behaviour
relates elastic#57591
  • Loading branch information
pgomulka committed Jul 19, 2021
1 parent 2320a38 commit 2a24415
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/reference/index-modules/slowlog.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,10 @@ 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 preventing "more verbose" loggers to be turned 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

0 comments on commit 2a24415

Please sign in to comment.