A servlet filter that adds request identifiers to slf4j's mapped diagnostic context (MDC) , it allows logging output at multiple levels of your service to be easily grouped by the originating request.