commit | e352a4dc906a5acb87fab3b23de9f3be07f0d4c7 | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Wed Oct 01 06:52:29 2014 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Wed Oct 01 06:52:29 2014 +0000 |
tree | fa5d11bab515f4cdbf1267069d76265fbc780f4c | |
parent | de2009de550a570f7fdc5ca6928e1ae141fa996d [diff] |
Update to Sling Parent POM 22 with baselining enabled git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1628620 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.