Log a request unique identifier based on HTTP header
- Dominant language
- No language data
- Stars
- 126
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
We want to log a **request unique identifier** coming from a HTTP request. This id is added by Apache Front just before calling a Knot.x instance. So we want to read this data from the request and put this data into log file (retrieving this value from _HTTP header_). Usually this is achieved by **MDC** in Slf4j but in vert.x application it is not good approach. More details here:
https://groups.google.com/forum/#!topic/vertx/SKrG5EWw090
Please find a solution for this problem.
Contributor guide
Research direction
Start by reviewing how the Vert.x application receives the HTTP request and writes its log file, with the Apache Front header and SLF4J/MDC discussion as context. Done means the request identifier from that header is available in the relevant log output without relying on MDC.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100