ComponentPro UltimateSaml

Enabling trace log

Language Filter: AllSend comments on this topic to ComponentPro
You can configure Ultimate SAML to write trace log to file, console, or any output. The information in the log file can assist with tracking down SAML issues. To enable SAML trace log in your application, add the following code segment to your application's bootstrap, usually in Application_Start event.
ComponentPro.Saml.SamlSettings.LogWriter = new ComponentPro.Saml.Diagnostics.FileLogWriter(AppDomain.CurrentDomain.BaseDirectory + "saml.log", 
    ComponentPro.Saml.Diagnostics.LogLevel.Verbose, false);

// ... 
// Log a request object.
ComponentPro.Saml.Diagnostics.SamlTrace.Log(LogLevel.Verbose, Request);