Log outbound XML in msg encoders.
[shibboleth/opensaml2.git] / saml / saml2 / binding / impl / SAML2RedirectEncoder.cpp
index d0ed6d0..ac711f1 100644 (file)
@@ -116,6 +116,7 @@ long SAML2RedirectEncoder::encode(
     DOMElement* rootElement = xmlObject->marshall();
     string xmlbuf;
     XMLHelper::serialize(rootElement, xmlbuf);
+    log.debug("marshalled message: %s", xmlbuf.c_str());
     
     unsigned int len;
     char* deflated = deflate(const_cast<char*>(xmlbuf.c_str()), xmlbuf.length(), &len);