Compartir a través de


WS-AT TRACING

Tracing

The WS-AT protocol service supports integrated, transaction specific tracing that can be enabled and managed through the use of the WS-AtomicTransaction Configuration MMC Snap-in tool. Traces can include data indicating the time an enlistment is made for a specific transaction, the time a transaction reaches its terminal state, the outcome each transaction enlistment has received, etc. All traces can be viewed using the Service Trace Viewer Tool (SvcTraceViewer.exe) tool.

 

The WS-AT protocol service also supports integrated ServiceModel tracing through the ETW trace session. This provides more detailed, communication-specific traces in addition to the existing transaction traces. To enable these additional traces, follow these steps

  1. Open the Start/Run menu, type "regedit" in the input box and select OK.
  2. In the Registry Editor, navigate to the following folder on the left pane, Hkey_Local_Machine\SOFTWARE\Microsoft\WSAT\3.0\
  3. Right click the ServiceModelDiagnosticTracing value in the right pane and select Modify.
  4. In the Value data input box, enter one of the following valid values to specify the trace level you want to enable.
  • 0: off
  • 1: critical
  • 3: error. This is the default value
  • 7: warning
  • 15: information
  • 31: verbose

REFERENCE:

 https://blogs.msdn.com/madhuponduru/archive/2008/02/18/system-transactions-trace.aspx

https://msdn2.microsoft.com/en-us/library/ms733943.aspx

Comments

  • Anonymous
    February 18, 2008
    PingBack from http://www.biosensorab.org/2008/02/18/ws-at-tracing/

  • Anonymous
    October 16, 2008
    Tacing tweaks works fine, to understand behind internal transaction it really helps. Good stuff.

  • Anonymous
    April 09, 2009
    <configuration>  <system.diagnostics>    <switches>      <add name="Microsoft.Transactions.Bridge" value="4" />      <add name="GatewayTracing" value="4" />      <add name="Microsoft.Transactions.Wsat" value="4" />    </switches>    <trace autoflush="true" indentsize="4">      <listeners>        <add name="MSTB Trace File"             type="System.Diagnostics.TextWriterTraceListener"             initializeData="MSDTCmsdtc.trace.log" />      </listeners>    </trace>  </system.diagnostics> </configuration>