-
Couldn't load subscription status.
- Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: taskA general taskA general task
Milestone
Description
Rossen Stoyanchev opened SPR-16966 and commented
In order to improve logging for WebFlux requests, as part of #21437, e.g. to avoid duplicate information (e.g. request path) being logged multiple times, log messages for a given request need to insert a common log id, so that the messages can be correlated regardless of the thread id.
This can be done be exposing a well-known request attribute via ServerWebExchange and a convenience method on ServerWebExchange to access it.
Affects: 5.0.7
This issue is a sub-task of #21485
Issue Links:
- Fine-tune logging for web requests [SPR-16898] #21437 Fine-tune logging for web requests
Referenced from: commits bc3cf0e, 39d5874, 5dc49b1, fd90b73, 8231066, 5cdc267
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: taskA general taskA general task