Freigeben über


Configuring Tracing for Failed Requests in IIS 7

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

With tracing for failed requests, you can capture an XML formatted log of a problem when it occurs, so that you do not have to reproduce the problem before you start troubleshooting. Additionally, you can define failure conditions for applications and configure which trace events to log on a per-URL basis.

Tracing for failed requests is configured at two levels:

  • At the site level, you enable or disable tracing and configure log file settings.

  • At the application level, you specify the failure conditions for capturing the trace events and also configure which trace events should be captured in the log file entries.

Prerequisites

For information about the levels at which you can perform these procedures, and the modules, handlers, and permissions that are required for these procedures, see Tracing for Failed Requests Feature Requirements (IIS 7).

Procedures

This task includes the following procedures:

View a List of Tracing Rules for Failed Requests (IIS 7)

Enable Trace Logging for Failed Requests (IIS 7)

Disable Trace Logging for Failed Requests (IIS 7)

Create a Tracing Rule for Failed Requests (IIS 7)

Edit a Tracing Rule for Failed Requests (IIS 7)

Remove a Tracing Rule for Failed Requests (IIS 7)