Open
Description
HttpLoggingMiddleware will log headers, properties (method, path, query, etc.), and body. However it will not log any information about the connection (Remote IP, local IP, ports, client certificate, TLS version, etc.).
Here's an example from our docs where the remote IP is relevant in the request logs:
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/proxy-load-balancer?view=aspnetcore-5.0#troubleshoot
Which fields should we make available to log, and what granularity should we provide in the enum to enable them?