traceFailedRequestsLogging Element for site for sites [IIS Settings Schema]

Note

For more information about the traceFailedRequestsLogging element, see the following topic on the Microsoft IIS.net Web site: Default Settings for All Sites <siteDefaults>.

Specifies settings for logging failed request traces for the site.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute

Description

directory

Optional string attribute.

Specifies the failed request trace logging directory for a site.

The default value is %systemdrive%\inetpub\logs\FailedReqLogFiles.

enabled

Optional Boolean attribute.

Specifies whether failed request trace logging is enabled for a site (true) or disabled (false).

The default value is false.

maxLogFiles

Optional uint attribute.

Specifies the maximum number of failed request tracing log files to keep for the site.

The default value is 50.

Child Elements

None.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.applicationHost

Specifies the root element for configuring Web process settings.

sites

Specifies configuration settings for all sites on the server, and includes settings for applications and virtual directories in those sites.

site

Specifies configuration settings for a site.

Remarks

For more information about the traceFailedRequestsLogging element, see the following topic on the Microsoft IIS.net Web site: Default Settings for All Sites <siteDefaults>.

Element Information

Configuration locations

ApplicationHost.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0