次の方法で共有


log Element for system.ftpServer [IIS Settings Schema]

Note

For more information about the log element, see the following topic on the Microsoft IIS.net Web site: FTP Logging Options <log>.

Specifies log settings for an FTP 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 FTP server.

The centralLogFileMode attribute can be one of the following possible values.

The default value is Site.

ValueDescription
SiteSpecifies that each site will write to individual log files on the FTP server. The numeric value is 0.
CentralSpecifies that a single log file will be maintained for all the sites on the FTP server. The numeric value is 1.

logInUTF8

Optional Boolean attribute.

Specifies whether IIS should log all strings for the FTP server in UCS Transformation Format 8 (UTF-8). This setting applies to text-mode logging for all of the sites on the FTP server.

The default value is true.

Child Elements

Element

Description

centralLogFile

Optional element.

Specifies the settings for the central log file.

Parent Elements

Element

Description

configuration

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

system.ftpServer

Specifies the top-level section group in which this element is defined.

Remarks

For more information about the log element, see the following topic on the Microsoft IIS.net Web site: FTP Logging Options <log>.

Element Information

Configuration locations

ApplicationHost.config

Requirements

IIS 7

See Also

Reference

centralLogFile Element for log for system.ftpServer [IIS Settings Schema]