Skip to content

Instantly share code, notes, and snippets.

@jennings
Created March 11, 2014 02:50
Show Gist options
  • Save jennings/9478612 to your computer and use it in GitHub Desktop.
Save jennings/9478612 to your computer and use it in GitHub Desktop.
Enable WCF message logging
<system.diagnostics>
<sources>
<source name="System.ServiceModel"
switchValue="Critical,Information,ActivityTracing"
propagateActivity="true">
<listeners>
<add name="messages"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="c:\inetpub\logs\messages.svclog" />
</listeners>
</source>
</sources>
<trace autoflush="true" />
</system.diagnostics>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment