Logging Element

The <logging> element provides a method for specifying an alternative logging implementation for the SAML2 library. Custom implementations can be easily written for any logging library, such as SAML2.Logging.Log4Net or SAML2.Logging.CommonLogging. The default logging provider is the NoLogging provider which does not actually log anything.

Below is an example, using the SAML2.Logging.Log4Net logging provider:

  <saml2>
    ...
    <logging loggingFactory="SAML2.Logging.Log4Net.Log4NetLoggerFactory, SAML2.Logging.Log4Net" />
  </saml2>


See related projects for links to known logging provider implementations.

Last edited Aug 14, 2013 at 11:41 PM by i8beef, version 1

Comments

No comments yet.