Skip to content

[8.0] Change default level for deprecation logging (#80167)#80365

Merged
jakelandis merged 1 commit intoelastic:8.0from
jakelandis:backport/8.0/pr-80167
Nov 4, 2021
Merged

[8.0] Change default level for deprecation logging (#80167)#80365
jakelandis merged 1 commit intoelastic:8.0from
jakelandis:backport/8.0/pr-80167

Conversation

@jakelandis
Copy link
Copy Markdown
Contributor

Backports the following commits to 8.0:

This commit updates all deprecation message (except for REST
compatible API messages) in 8.0+ to be emit at warning level.
Currently none of these have been removed in future versions (yet) so they
should be logged at warning, not critical.

This commit also changes the default assertWarning to assert at warning level
and introduces a new assertCriticalWarning to assert critical warnings.
@jakelandis jakelandis merged commit 312810c into elastic:8.0 Nov 4, 2021
@jakelandis jakelandis deleted the backport/8.0/pr-80167 branch November 4, 2021 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants