traceFailedRequestsLogging Element for siteDefaults 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 Trace Failed Requests Logging for a Site <traceFailedRequestsLogging>.
Specifies default settings for logging failed-request traces for all sites.
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. |
siteDefaults |
Specifies default settings for all sites on the server. |
Remarks
For more information about the traceFailedRequestsLogging element, see the following topic on the Microsoft IIS.net Web site: Default Trace Failed Requests Logging for a Site <traceFailedRequestsLogging>.
Element Information
Configuration locations |
ApplicationHost.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |