https://issues.shibboleth.net/jira/browse/SSPCPP-490
authorScott Cantor <cantor.2@osu.edu>
Tue, 14 Aug 2012 02:53:14 +0000 (02:53 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 14 Aug 2012 02:53:14 +0000 (02:53 +0000)
shibsp/binding/impl/ArtifactResolver.cpp

index 73aac7e..3f6b4a0 100644 (file)
@@ -208,14 +208,10 @@ ArtifactResponse* ArtifactResolver::resolve(
                             XercesJanitor<DOMDocument> docjanitor(doc);
 
                             if (log.isDebugEnabled()) {
-#ifdef XMLTOOLING_LOG4SHIB
-                                log.debugStream() << "received XML:\n" << *(doc->getDocumentElement()) << logging::eol;
-#else
                                 string buf;
                                 XMLHelper::serialize(doc->getDocumentElement(), buf);
                                 log.debugStream() << "received XML:\n" << buf << logging::eol;
-#endif
-    }
+                            }
                             xmlObject.reset(XMLObjectBuilder::buildOneFromElement(doc->getDocumentElement(), true));
                             docjanitor.release();
                         }