更新:
我一直试图打开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>
Run Code Online (Sandbox Code Playgroud)
我正在使用.NET Framework 3.5.
为调试目的打开WCF跟踪的逐步说明是什么?
wcf ×1