This project is read-only.

How to view trace information

J.D. Meier, Jason Taylor, Prashant Bansode, Carlos Farre, Madhu Sundararajan, Steve Gregersen.

Follow these steps to view trace information:
  1. Enable tracing by adding configuration information to the application web.config or app.config file. For example:
<system.diagnostics>
    <trace autoflush="true" />
    <sources>
            <source name="System.ServiceModel" 
                    switchValue="Information, ActivityTracing"
                    propagateActivity="true">
            <listeners>
               <add name="sdt" 
                   type="System.Diagnostics.XmlWriterTraceListener" 
                   initializeData= "WCFTraceLog.svclog" />
            </listeners>
         </source>
    </sources>
</system.diagnostics>
  1. Navigate to the SvcTraceViewer.exe installation location (C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin) and run SvcTraceViewer.exe.
  2. Click on the File menu and then the Open menu. Navigate to the location where your trace files are stored.
  3. Double-click to open the trace log file.

Additional Resources

Last edited May 8, 2008 at 12:53 AM by prashantbansode, version 1

Comments

No comments yet.