Enable WCF Tracing


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


  • Add the following to the web.config file.
<source name="System.ServiceModel" switchValue="Error" propagateActivity="true"> 
      <add name="traceListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData="C:\logs\Traces.svclog"/> 
About this Article
  • Created: 06/04/2017 2:58 am EDT
  • Last updated: 11/28/2017 8:53 am EST
In This Article