File Tracing in Windows Workflow Foundation
After fighting with the windows workflow (WWF) runtime for a few hours, I finally found and article in the WIKI that showed the tracing switches changed in the released version.
The following will log everything to a file on the computer where the runtime is located:
<system.diagnostics>
<switches>
<add name=”System.Workflow LogToTraceListeners” value=”1″ />
<add name=”System.Workflow.Runtime.Hosting” value=”Verbose” />
<add name=”System.Workflow.Runtime” value=”Verbose” />
<add name=”System.Workflow.Runtime.Tracking” value=”Verbose” />
<add name=”System.Workflow.Activities” value=”Verbose” />
<add name=”System.Workflow.Activities.Rules” value=”Verbose” />
</switches>
<trace autoflush=”true” indentsize=”4″>
<listeners>
<add name=”myListener”
type=”System.Diagnostics.TextWriterTraceListener”
initializeData=”D:\Remoting\TextWriterOutput.log” />
</listeners>
</trace>
</system.diagnostics>
And contrary to most of the postings on the internet, this is current for the RTM release of Windows Workflow Foundation.
No comments yet. Be the first.
Leave a reply