Skip to content

Merge #28698 to branch 5.* #30862

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

Closed
4 of 10 tasks
Karql opened this issue Mar 12, 2021 · 5 comments
Closed
4 of 10 tasks

Merge #28698 to branch 5.* #30862

Karql opened this issue Mar 12, 2021 · 5 comments
Assignees
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions Servicing-approved Shiproom has approved the issue
Milestone

Comments

@Karql
Copy link

Karql commented Mar 12, 2021

Description

In 5.0 some logging updates were made that accidentally swapped the argument parameters for a log.

Customer Impact

Customers consuming structured logging might depend on the types of the structured data, swapping the arguments can break them as seen above, also the log reads incorrectly.

Regression?

  • Yes
  • No

Regressed from 3.1 to 5.0 (fixed in 6.0 already)

Risk

  • High
  • Medium
  • Low

The change is a logging change only, just switching the parameter order.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

Hi!

It is possible to merge fix from #28698 to branch 5.*?

Best regards,
Mateusz

@Tratcher
Copy link
Member

The log is a bit confusing, but is there any more impact to you? An issue like this wouldn't normally qualify for a patch.

@Tratcher Tratcher added area-servers Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. labels Mar 12, 2021
@Karql
Copy link
Author

Karql commented Mar 12, 2021

The problem affects our central logging system (EFK stack).

image

We have several apps with diffrent .Net Core version 3., 5. etc.

In version 3.* there was no bug: https://github.com/dotnet/aspnetcore/blob/v3.1.13/src/Servers/Kestrel/Core/src/Internal/Infrastructure/KestrelTrace.cs#L50

Bug exists in 5.*: https://github.com/dotnet/aspnetcore/blob/v5.0.4/src/Servers/Kestrel/Core/src/Internal/Infrastructure/KestrelTrace.cs#L51

So there is diffrent format for one field when logs are pushed to the elastic.

@ghost ghost added Needs: Attention 👋 This issue needs the attention of a contributor, typically because the OP has provided an update. and removed Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. labels Mar 12, 2021
@davidfowl
Copy link
Member

This seems like reasonable thing to backport. It's super low risk but I'll let @Pilchie decide.

@davidfowl davidfowl added the Servicing-consider Shiproom approval is required for the issue label Mar 12, 2021
@BrennanConroy
Copy link
Member

Triage: we're in favor of patching. This is a regression from 3.1 to 5.0.

We could technically provide a private reflection workaround, but this should be patch worthy.

@BrennanConroy BrennanConroy removed the Needs: Attention 👋 This issue needs the attention of a contributor, typically because the OP has provided an update. label Mar 15, 2021
@BrennanConroy BrennanConroy added this to the 5.0.x milestone Mar 15, 2021
@leecow leecow added Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Mar 18, 2021
@leecow leecow modified the milestones: 5.0.x, 5.0.6 Mar 18, 2021
@BrennanConroy BrennanConroy self-assigned this Mar 18, 2021
@BrennanConroy
Copy link
Member

Fixed by #31080

@ghost ghost locked as resolved and limited conversation to collaborators May 21, 2021
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions Servicing-approved Shiproom has approved the issue
Projects
None yet
Development

No branches or pull requests

6 participants