Working with Failed Request Tracing
The Trace object in Appcmd provides a convenient way to enable and use the Failed Request Tracing (FRT) feature in IIS 7.0 to diagnose server problems.
For more information about using Failed Request Tracing, see Chapter 16.
You can use the Trace object to do the following:
Turn FRT on and off for each Web site
Manage FRT tracing rules for any URL
Search for and inspect FRT log files
Turning on Failed Request Tracing
To turn on FRT for a particular URL, you must first enable the feature for the Web site. You can do this with Appcmd by using the Configure Trace command.
appcmd configure trace SiteName /enablesite