Apache Sling SLF4J MDC Filter
This module is part of the Apache Sling project.
This filter exposes various request details as part of [MDC].
Currently it exposes following variables:
req.remoteHost- Request remote host
req.userAgent- User Agent Header
req.requestURI- Request URI
req.queryString- Query String from request
sling.userId- UserID associated with the request. Obtained from ResourceResolver
jcr.sessionId- Session ID of the JCR Session associated with current request.
The filter also allow configuration to extract data from request cookie, header and parameters. Look for configuration with name 'Apache Sling Logging MDC Inserting Filter' for details on specifying header, cookie, param names.