<system.diagnostics>
<sources>
<source name="System.ServiceModel"
switchValue="Error, ActivityTracing"
propagateActivity="true">
<listeners>
<add name="traceListener"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData= "c:\logs\Traces.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
Hi, I use this config section to trace just the errors from the WCF service, but when I open my svclog file I can see all the activity on the service. How can I log only the errors in my svclog file.