Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To enable generation of a trace file for Identity Server 3, insert the following in web.config file. If <system.diagnostics> is not already present in the file, insert the section between the sections <appSettings> and <system.web>. To disable the trace later, it'll suffice to comment out the <add> element.


web.config
  <system.diagnostics>
    <trace autoflush="true" indentsize="4">
      <listeners>
        <add name="trace.log" type="System.Diagnostics.TextWriterTraceListener" initializeData="Trace.log" />
      </listeners>
    </trace>
  </system.diagnostics>


More information about logging


  • No labels