Genpact Cora Knowledge Center

Support

Enable WCF Tracing

Prerequisites

  • Create a backup of the web.config file.
  • Make sure the path that you specify in the initializeData parameter exists.

Procedure

  • Add the following to the web.config file.
<source name="System.ServiceModel" switchValue="Error" propagateActivity="true"> 
   <listeners> 
      <add name="traceListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData="C:\logs\Traces.svclog"/> 
   </listeners> 
</source>