Skip to content
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

Always use deprecateAndMaybeLog for deprecation warnings #55319

Merged

Conversation

pugnascotia
Copy link
Contributor

Backport of #55115.

Closes #53137. Replace calls to deprecate(String,Object...) with
deprecateAndMaybeLog(...), with an appropriate key, so that all messages
can potentially be deduplicated.

Backport of elastic#55115.

Closes elastic#53137. Replace calls to deprecate(String,Object...) with
deprecateAndMaybeLog(...), with an appropriate key, so that all messages
can potentially be deduplicated.
@pugnascotia pugnascotia added :Core/Infra/Logging Log management and logging utilities backport v7.8.0 labels Apr 16, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Logging)

@pugnascotia
Copy link
Contributor Author

@rjernst although this is the backport PR, would you mind reviewing it? I had many more places to update, presumably because the relevant deprecated code is now removed in master.

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pugnascotia pugnascotia changed the title Always use deprecateAndMaybeLog for deprecation warnings (#55115) Always use deprecateAndMaybeLog for deprecation warnings Apr 23, 2020
@pugnascotia pugnascotia merged commit d66af46 into elastic:7.x Apr 23, 2020
@pugnascotia pugnascotia deleted the 53137-dedup-deprecation-warnings-7x branch April 23, 2020 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Core/Infra/Logging Log management and logging utilities v7.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants