httpLogging Element [IIS Settings Schema]
Note
For more information about the httpLogging element, see the following topic on the Microsoft IIS.net Web site: HTTP Logging <httpLogging>.
Specifies configuration settings for HTTP.sys logging.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
||||||||
---|---|---|---|---|---|---|---|---|---|
dontLog |
Optional Boolean attribute. Specifies whether HTTP logging is enabled for successful requests. A request is considered successful if its status code is less than 400. The default value is false. |
||||||||
selectiveLogging |
Optional enum attribute. Specifies which type of requests to log. The selectiveLogging attribute can be one of the following possible values. The default value is LogAll.
|
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. |
Remarks
For more information about the httpLogging element, see the following topic on the Microsoft IIS.net Web site: HTTP Logging <httpLogging>.
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 |