-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove slowlog level #57591
Remove slowlog level #57591
Conversation
Pinging @elastic/es-core-infra (:Core/Infra/Logging) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@@ -18,4 +18,11 @@ Mapping:: | |||
Deprecations:: | |||
* Remove undocumented endpoints of hot threads API {pull}55109[#55109] | |||
|
|||
Slow loggers:: | |||
* `index.indexing.slowlog.level` and `index.indexing.slowlog.level` are removed. These settings can be worked around |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the settings listed here are the same? One should be the search slowlog level?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, good find.
@elasticmachine update branch |
Indexing and search slow log level setting is deprecated in 7x as it is removed in master relates #57591
settings for slwo log levels are removed in v8. This commit adds a documentation to how to mimic the behaviour relates elastic#57591
settings for slow log levels are removed in v8. This commit adds a documentation to how to mimic the behaviour relates elastic#57591 relates elastic#73718 # Conflicts: # docs/reference/index-modules/slowlog.asciidoc
settings for slow log levels are removed in v8. This commit adds a documentation to how to mimic the behaviour relates elastic#57591 relates elastic#73718 # Conflicts: # docs/reference/index-modules/slowlog.asciidoc
settings for slow log levels are removed in v8. This commit adds a documentation to how to mimic the behaviour relates elastic#57591 relates elastic#73718
Setting a slow log level requires an unnecessary conditional logic in
SearchSlowLog
andIndexingSlowLog
The behaviour of setting a level on a slow logger can be achieved with correct slow log threshold settings.
This PR is removing slow log and modifies tests to achieve the same behaviour with changing threshold.
relates #56171