Skip to content

[8.0] Changing HeaderWarning to always use 299 as the warning code (#80304)#80501

Merged
elasticsearchmachine merged 1 commit intoelastic:8.0from
masseyke:backport/8.0/pr-80304
Nov 8, 2021
Merged

[8.0] Changing HeaderWarning to always use 299 as the warning code (#80304)#80501
elasticsearchmachine merged 1 commit intoelastic:8.0from
masseyke:backport/8.0/pr-80304

Conversation

@masseyke
Copy link
Copy Markdown
Member

@masseyke masseyke commented Nov 8, 2021

Backports the following commits to 8.0:

…#80304)

This commit changes the deprecation logger so that all messages (critical or warning) are written
out with "299" as the level at the beginning of the header in order to be compliant with
https://www.rfc-editor.org/rfc/rfc7234.html#section-5.5.7. In elastic#79107 we mistakenly began logging
warning-level messages with the 300 code, which is not valid in the RFC.
@masseyke masseyke added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Nov 8, 2021
@elasticsearchmachine elasticsearchmachine merged commit b34dd26 into elastic:8.0 Nov 8, 2021
@masseyke masseyke deleted the backport/8.0/pr-80304 branch November 8, 2021 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.0.0-rc2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants