Skip to content

Glossary: Spring Boot Beyond the Basics

MDC

Also written: mapped diagnostic context

A small map of values belonging to the current thread. Boot's JSON logs copy it into each line, which is how `RequestIdFilter` stamps every line with a request id.

Where the book teaches it

Related terms

Structured logsFilterRequest id