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 emit product origin to deprecation log if present #83115

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

gwbrown
Copy link
Contributor

@gwbrown gwbrown commented Jan 25, 2022

Prior to this commit, we only emit the product origin to the deprecation log
if there's an opaque ID present. This is very counterintuitive, and probably
not intentional given that it doesn't match the behavior in master.

This commit changes the behavior so that the product origin
will always be included in the deprecation log JSON if it's present in the
context of the request.

Prior to this commit, we only emit the product origin to the deprecation log
if there's an opaque ID present. This is very counterintuitive, and probably
not intentional given that it doesn't match the behavior in `master`.

This commit changes the behavior so that the product origin
will always be included in the deprecation log JSON if it's present in the
context of the request.
@gwbrown gwbrown added >bug :Core/Infra/Logging Log management and logging utilities v7.17.1 labels Jan 25, 2022
@gwbrown gwbrown requested a review from pgomulka January 25, 2022 22:46
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Jan 25, 2022
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@pgomulka pgomulka left a comment

Choose a reason for hiding this comment

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

LGTM, that looks like a bug. thanks for fixing

@pgomulka pgomulka merged commit a0eb5b6 into elastic:7.17 Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Logging Log management and logging utilities Team:Core/Infra Meta label for core/infra team v7.17.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants