commit | 2dac6741eb3e654751ae8452d043284f7ac628d4 | [log] [tgz] |
---|---|---|
author | Chetan Mehrotra <chetanm@apache.org> | Thu May 15 06:55:16 2014 +0000 |
committer | Chetan Mehrotra <chetanm@apache.org> | Thu May 15 06:55:16 2014 +0000 |
tree | 5fbc7c7d331e8a3440b1066f8457a0bbbe3bf022 | |
parent | ba9dc0f9c75e94767e9fac287eba964abee70d3d [diff] |
[maven-release-plugin] prepare release org.apache.sling.extensions.slf4j.mdc-1.0.0 git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1594790 13f79535-47bb-0310-9956-ffa450edef68
This filter exposes various request details as part of [MDC][1].
Currently it exposes following variables:
req.remoteHost
- Request remote hostreq.userAgent
- User Agent Headerreq.requestURI
- Request URIreq.queryString
- Query String from requestreq.requestURL
-req.xForwardedFor
-sling.userId
- UserID associated with the request. Obtained from ResourceResolverjcr.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.