Udostępnij za pośrednictwem


Enabling debug logging for Claims Aware Applications

Place the following in your applications web.config file. Place this after the </system.net> section of the file.

 

 

<system.diagnostics>

      <switches>

        <add name="WebSsoDebugLevel" value="15" />

      </switches>

      <trace autoflush="true" indentsize="3">

         <listeners>

            <add name="ADFSLogListener" type="System.Web.Security.SingleSignOn.BoundedSizeLogFileTraceListener, System.Web.Security.SingleSignOn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null" initializeData="c:\adfs\logs\" />

         </listeners>

      </trace>

    </system.diagnostics>