**Last Update**: 17.04.2024
***
MDC (Mapped Diagnostic Context) is a feature provided by logging frameworks such as SLF4J and Logback to store contextual information (e.g., user ID, request ID) in a thread-local variable. This allows for enriching log statements with context-specific information.