|author||Radu Cotescu <firstname.lastname@example.org>||Wed Sep 19 18:04:00 2018 +0200|
|committer||Radu Cotescu <email@example.com>||Wed Sep 19 18:04:00 2018 +0200|
SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module
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.