Skip to content

Instantly share code, notes, and snippets.

@brainded
Created January 24, 2014 21:02
Show Gist options
  • Save brainded/8606351 to your computer and use it in GitHub Desktop.
Save brainded/8606351 to your computer and use it in GitHub Desktop.
Wcf Exception configuration to enable logging to file when troubleshooting Wcf issues.
<system.diagnostics>
<trace autoflush="true" />
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
propagateActivity="true">
<listeners>
<add name="sdt"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="c:logclient.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment