Unexpected behavior in HttpLoggingMiddleware
Open
area-middleware
feature-http-logging
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
https://github.com/dotnet/aspnetcore/blob/e31445e897e416b743f436b27cb81f3c87c56d27/src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs#L261C27-L261C28
In the HttpLoggingMiddleware, when opting into duration, an additional entry is created. Expected behavior would be that the duration is added as a property of the response log
Contributor guide
Assessment
This issue has not been assessed yet.