add Element for traceAreas for add for traceFailedRequests for tracing [IIS Settings Schema]
Note
For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding Trace Areas <add>.
Adds a trace area to the collection of trace areas for tracing failed requests.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
areas |
Optional string attribute. Specifies a comma-delimited list, without spaces, that contains what content areas to trace for a given provider. When the provider attribute is set to "ASPNET," the possible values are "Infrastructure", "Module", "Page", and "AppServices". When the provider attribute is set to "WWW server", the possible values are "Authentication", "Security", "Filter", "StaticFile", "CGI", "Compression", "Cache", "RequestNotifications", and "All". |
||||||||||||||
provider |
Required string attribute. Specifies which trace provider to use when tracing requests by name. |
||||||||||||||
verbosity |
Optional enum attribute. Specifies the amount and type of information that is saved to the trace log. The verbosity attribute can be one of the follow ing possible values. The default is Verbose.
|
Child Elements
None.
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by IIS 7. |
system.webServer |
Specifies the top-level section group (in ApplicationHost.config) in which this element is defined. |
tracing |
Configures request trace settings. |
traceFailedRequests |
Contains settings for tracing failed requests on the Web server. |
add |
Adds a path to the collection of path definitions. |
traceAreas |
Configures what to trace for a given path. |
Remarks
For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding Trace Areas <add>.
Element Information
Configuration locations |
Machine.config ApplicationHost.config Root application Web.config Application Web.config Directory Web.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |
See Also
Reference
remove Element for traceAreas for add for traceFailedRequests for tracing [IIS Settings Schema]
clear Element for traceAreas for add for traceFailedRequests for tracing [IIS Settings Schema]