aspnet / Hosting

[Archived] Code for hosting and starting up an ASP.NET Core application. Project moved to https://github.com/aspnet/Extensions and https://github.com/aspnet/AspNetCore
Apache License 2.0
552 stars 312 forks source link

Include URL in request finished log message #1575

Closed HassanHashemi closed 5 years ago

HassanHashemi commented 5 years ago

Having the URL of the request finished message would be some thing nice to have when parsing log message:

https://github.com/aspnet/Hosting/blob/f9d145887773e0c650e66165e0c61886153bcc0b/src/Microsoft.AspNetCore.Hosting/Internal/HostingRequestFinishedLog.cs#L53

image

Tratcher commented 5 years ago

We've tried to avoid this kind of duplication. For anything but the most trivial cases you need to use tooling to correlate all the logs for a request, which will give you the request started log that has this information already.

HassanHashemi commented 5 years ago

@Tratcher Fair enough.