[logback-user] TeeFilter fullResponse not logging for particular response
Scott Koranda
skoranda at gmail.com
Tue Aug 11 00:11:01 CEST 2015
Hello,
I am using Logback-access 1.1.2 with Jetty 9.2 and have configured the
TeeFilter filter in order to capture both the full request and full
response for a (non-production) webapp.
For the most part the module is working as I expect. I see the full request
logged and also the full response (except for images, which are sensibly
rendered with [IMAGE CONTENTS SUPPRESSED]).
For one particular response, however, the module is not logging the
response contents. It is the response sent to the browser as part of a
SAML2 HTTP-POST flow and it has the form
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
</head>
<body onload="document.forms[0].submit()">
<noscript>
<p>
<strong>Note:</strong> Since your browser does not support
JavaScript,
you must press the Continue button once to proceed.
</p>
</noscript>
<form action="https://server.edu/Shibboleth.sso/SAML2/POST"
method="post">
<div>
<input type="hidden" name="RelayState"
value="ss:mem:d0cc80da13dd9a454f8eea89fa76289e14b01a4022760603480766b7db5a9dfc"/>
<input type="hidden" name="SAMLResponse" value="QUITE LONG
ENCODED STRING"/>
</div>
<noscript>
<div>
<input type="submit" value="Continue"/>
</div>
</noscript>
</form>
</body>
</html>
For some reason only the HTTP headers for the response are logged and not
the actual response content. The content is properly delivered to the
browser so I do not think TeeFilter is interfering with the webapp.
Any ideas on why this particular response is not logged? Is it because the
"QUITE LONG ENCODED STRING" is roughly 11K in size (10,713 characters)?
Thanks,
Scott K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20150810/b31ede28/attachment.html>
More information about the Logback-user
mailing list