Turn off the SAML Request/Response being logged in IDP

Nate Klingenstein ndk at internet2.edu
Tue Sep 3 17:18:40 EDT 2013


Kotesh,

You can probably just turn PROTOCOL_MESSAGE to OFF or just comment it out by modifying logging.xml:

    <!-- Logs inbound and outbound protocols messages at DEBUG level -->
    <!--
    <logger name="PROTOCOL_MESSAGE" level="DEBUG" />
    -->

That should stop the logging of SAMLRequest and SAMLResponse.

Thanks,
Nate.

On Sep 3, 2013, at 21:07 , kotesh201 wrote:

> Hi,
> 
> I would like to turn off just the SAML Request and Response being logged in
> the log files. 
> I see the Request and response log information starts something like below
> in the logs. 
> 
> 20:50:21.151 - DEBUG [PROTOCOL_MESSAGE:113] - 
> <?xml version="1.0" encoding="utf-8"?><samlp:AuthnRequest xmlns:samlp.....
> 
> ==============
> 
> What is the exact class that IDP uses to print SAML Req/Response so that I
> can add some rule in the logging.xml file.
> 
> I have some settings something like this
> 
> &lt;logger name=&quot;org.springframework&quot; level=&quot;OFF&quot;/>
> 
> <logger name="org.apache.catalina" level="INFO"/>
> 
> If I get the exact class, probably I can add that here to skip logging the
> request and response. Is that possible at all ?
> 
> Thanks for your help.
> -Kotesh
> 
> 
> 
> 
> 
> 
> --
> View this message in context: http://shibboleth.1660669.n2.nabble.com/Turn-off-the-SAML-Request-Response-being-logged-in-IDP-tp7589723.html
> Sent from the Shibboleth - Users mailing list archive at Nabble.com.
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
> 




More information about the users mailing list