The Problem Solver

Tell me and I will forget
Show me and I will remember
Involve me and I will understand
- Confucius -

Google Ads

This Blog

Syndication

Search

Tags

News





  • View Maurice De Beijer's profile on LinkedIn

Community

Email Notifications

Explore

Archives

Workflow Foundation and tracing
I think Windows Workflow Foundation is one of the more interesting features in WinFx, oops the .NET 3.0 framework. But figuring out what to do can be a challenge. Fortunately they added a number of trace switches to allow you to track what the components are doing. Add the following to the app.config file to see what is going on:
 
<system.diagnostics>
  <switches>
    <addname="System.Workflow LogToTraceListeners"value="1" />
 
    <addname="System.Workflow.Runtime.Hosting"value="Verbose" />
    <addname="System.Workflow.Runtime"value="Verbose" />
    <addname="System.Workflow.Runtime.Tracking"value="Verbose" />
    <addname="System.Workflow.Activities"value="Verbose" />
    <addname="System.Workflow.Activities.Rules"value="Verbose" />
  </switches>
</system.diagnostics>
 
Valid value are:
Off
No messages
Error
Only error messages
WarningError and warning messages
Info
Information, error and warning messages
VerboseAll kind of messages
 
Enjoy!
 
Maurice de Beijer
Published Sun, Sep 24 2006 15:34 by Maurice
Filed under: , ,

Comments

# http://strategicboard.com/index.php?s=workflow@ Tuesday, September 26, 2006 10:47 AM

# Fqgalwan@ Monday, July 13, 2009 9:48 AM

ukd4ew

# Sjowrzil@ Monday, July 13, 2009 2:04 PM

CDEu3n