-
Notifications
You must be signed in to change notification settings - Fork 38.3k
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
Ensure ClientResponse logPrefix Contains the Connection Id When Available #26656
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Comments
rstoyanchev
added
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
labels
Mar 9, 2021
This was referenced Mar 16, 2021
This was referenced Mar 17, 2021
Closed
lxbzmy
pushed a commit
to lxbzmy/spring-framework
that referenced
this issue
Mar 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
ClientRequest
exposes alogPrefix
, controlled via a request attribute or otherwise set to an identity hash by default. ThelogPrefix
is passed to and exposed in theClientResponse
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 anid
similar toServerHttpRequest
which can be based on the connection id when available. This can then be appended to the existinglogPrefix
such that once a response is obtained, subsequent logging will also include the underlying a connection id.The text was updated successfully, but these errors were encountered: