Closed
Description
ClientRequest
exposes a logPrefix
, controlled via a request attribute or otherwise set to an identity hash by default. The logPrefix
is passed to and exposed in the ClientResponse
but and it helps to correlate request and response logging, However, it is not connected to the underlying connection id and logging from the underlying HTTP client.
ClientHttpResponse
can expose an id
similar to ServerHttpRequest
which can be based on the connection id when available. This can then be appended to the existing logPrefix
such that once a response is obtained, subsequent logging will also include the underlying a connection id.