From ef7df3c8df6bc80ca99dc7d4c928ba67c506301e Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Thu, 16 Sep 2021 13:41:50 -0400 Subject: [PATCH] [DOCS] Fix deprecation docs for slow log levels (#77811) (#77919) 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 --- docs/reference/migration/migrate_7_13.asciidoc | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/reference/migration/migrate_7_13.asciidoc b/docs/reference/migration/migrate_7_13.asciidoc index 986cad3b1e430..ecb7ad990e0f8 100644 --- a/docs/reference/migration/migrate_7_13.asciidoc +++ b/docs/reference/migration/migrate_7_13.asciidoc @@ -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]