spring-projects / spring-projects/spring-boot
Allow structured 'json.context.prefix' to apply to MDC and not key/value pairs
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 81.5k
- Forks
- 42.7k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
Description
See https://github.com/spring-projects/spring-boot/issues/45218#issuecomment-2898258549
Offering a general purpose property is a little tricky since Logback and Log4J2 have different feature sets.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked issue and referenced comment to understand the intended behavior for structured json.context.prefix. Trace the relevant Spring Boot logging configuration entry points for MDC and key/value pairs, and compare the available behavior in Logback and Log4J2. Done means the prefix applies to MDC without incorrectly applying to key/value pairs, with behavior documented or tested for both implementations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100