<configuration>
  <system.diagnostics>
    <switches>
      <add name="System.Workflow LogToTraceListeners" value="1" />
      <add name="System.Workflow.Runtime" value="All" />
      <add name="System.Workflow.Runtime.Hosting" value="All" />
      <add name="System.Workflow.Runtime.Tracking" value="All" />
      <add name="System.Workflow.Activities" value="All" />
      <add name="System.Workflow.Activities.Rules" value="All" />
    </switches>

    <trace autoflush="true" indentsize="4">
      <listeners>
        <add name="customListener"
       type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
       initializeData="WFTrace.e2e" traceOutputOptions="Callstack,LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId" />
      </listeners>
    </trace>
  </system.diagnostics>
</configuration>