log Element for system.applicationHost [IIS Settings Schema]
Note
For more information about the log element, see the following topic on the Microsoft IIS.net Web site: Log <log>.
Specifies the logging mode for a server.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
||||||||
---|---|---|---|---|---|---|---|---|---|
centralLogFileMode |
Optional enum attribute. Specifies the central logging mode for the server. The centralLogFileMode attribute can be one of the following possible values. The default is Site.
|
||||||||
logInUTF8 |
Optional Boolean attribute. Specifies whether IIS should log all strings in UCS Transformation Format 8 (UTF-8). This setting applies to all text-mode logging server-wide. The default value is true. |
Child Elements
Element |
Description |
---|---|
centralBinaryLogFile |
Optional element. Specifies the central binary log settings for all sites on a server. |
centralW3CLogFile |
Optional element. Specifies the central W3C log settings for all sites on a server. |
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. |
Remarks
For more information about the log element, see the following topic on the Microsoft IIS.net Web site: Log <log>.
Element Information
Configuration locations |
Machine.config ApplicationHost.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |