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:
    <trace autoflush="true" />
            <source name="System.ServiceModel" 
                    switchValue="Information, ActivityTracing"
               <add name="sdt" 
                   initializeData= "WCFTraceLog.svclog" />
  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


No comments yet.