Skip to content

Commit

Permalink
[DOCS] Fix deprecation docs for slow log levels (#77811) (#77919)
Browse files Browse the repository at this point in the history
In 7.13 and later 7.x versions, the `index.indexing.slowlog.level` and
`index.search.slowlog.level` index settings are deprecated, not removed.

This corrects the related item in the 7.13 breaking changes.

Relates to #73718
  • Loading branch information
jrodewig authored Sep 16, 2021
1 parent 152ac94 commit ef7df3c
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions docs/reference/migration/migrate_7_13.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,22 @@ errors in 8.0.0.
====

[[slow-log-level-removal]]
.`index.indexing.slowlog.level` and `index.search.slowlog.level` are removed.
.`index.indexing.slowlog.level` and `index.search.slowlog.level` are deprecated.
[%collapsible]
====
*Details* +
`index.indexing.slowlog.level` and `index.search.slowlog.level` are removed. These settings can be worked around
by using appropriate thresholds. 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` {es-pull}57591[#57591]
The `index.indexing.slowlog.level` and `index.search.slowlog.level` index
settings are now deprecated. You use these setting to set the logging level for
the search and indexing slow logs. To reproduce similar results, use the
respective `index.*.slowlog.threshold.index.debug` and
`index.*.slowlog.threshold.index.trace` index settings instead.
For example, to reproduce a `index.indexing.slowlog.level` setting of `INFO`,
set `index.indexing.slowlog.threshold.index.debug` and
`index.indexing.slowlog.threshold.index.trace` to `-1`.
*Impact* +
To avoid deprecation warnings, discontinue use of the deprecated settings.
====

[discrete]
Expand Down

0 comments on commit ef7df3c

Please sign in to comment.