This post will show how easy it is to enable WCF tracing through SvcConfigEditor and view the logs using SvcTraceViewer. The sample code can be downloaded from
- SvcConfigEditor.exe can be opened from VS 2010 ad displayed below
- Open the Web.Config of the WCF service from the File Menu.
- Under Diagnostics node, Tracing and MessageLogging can be configured
- Click on Enable MessageLogging and Enable Tracing. Default Log/Trace Level, Listener and Log file will be configured as displayed below