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

Layer enrichment & redaction on top of HttpLogging #4330

Merged
merged 44 commits into from
Oct 9, 2023

Conversation

Tratcher
Copy link
Member

@Tratcher Tratcher commented Aug 23, 2023

Consumes the new APIs from dotnet/aspnetcore#50163 to consolidate functionality. The build won't pass until we consume that PR through an updated dependency, but everything builds and tests pass locally.

Fixes #4210 #4492 #4440 #4451

Major changes:

  • Removed redundant types like middleware, request body handling, response body handling, media types, etc.
  • Exception logging is delegated to the ExceptionHandling middleware, but we still log any request data we've accumulated so far.

Now that it's functional, parts of the original design should be revisited like the manual path filtering. We don't want to re-invent routing.

Microsoft Reviewers: Open in CodeFlow

@Tratcher
Copy link
Member Author

Tratcher commented Sep 1, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Tratcher
Copy link
Member Author

Tratcher commented Oct 9, 2023

@geeknoid @iliar-turdushev FYI I've pushed changes to also fix #4451.

@joperezr joperezr merged commit a959ae4 into dotnet:release/8.0 Oct 9, 2023
6 checks passed
@Tratcher Tratcher added this to the 8.0-rtm milestone Oct 9, 2023
@Tratcher Tratcher deleted the tratcher/httplogging branch October 9, 2023 20:31
@ghost ghost locked as resolved and limited conversation to collaborators Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants