如何打开WCF跟踪?
<system.diagnostics> <trace autoflush="true" /> <sources> <source name="System.ServiceModel" switchValue="Information, ActivityTracing" propagateActivity="true"> <listeners> <add name="sdt" type="System.Diagnostics.XmlWriterTraceListener" initializeData= "@\\myservername\folder1\traces.svclog" /> </listeners> </source> </sources> </system.diagnostics>