Thursday, 22 January 2015

Enable logging using diagnostics for Web application

<configuration>
<system.diagnostics>
    <sources>
      <source name="System.ServiceModel"
              switchValue="Error">
        <listeners>
          <add name="traceListener"
              type="System.Diagnostics.XmlWriterTraceListener"
              initializeData= "Traces.svclog" />
        </listeners>
      </source>
    </sources>
  </system.diagnostics>
   
</configuration>

No comments:

Post a Comment