Tuesday, March 27, 2012

Using the WCF Service Trace Viewer Tool


http://msdn.microsoft.com/en-us/library/ms732023.aspx

tool:
c:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\SvcTraceViewer.exe

config (replace [ with < ):


[system.diagnostics>
    [trace autoflush="true" />
    [sources>
      [source name="System.ServiceModel"
              switchValue="Information, ActivityTracing"
              propagateActivity="true">
        [listeners>
          [add name="sdt"
              type="System.Diagnostics.XmlWriterTraceListener"
              initializeData= "pskbj.e2e" />
        [/listeners>
      [/source>
    [/sources>
  [/system.diagnostics>