Compartilhar via


LogFileDirectory

The LogFileDirectory property specifies the default logging directory, where the log file and logging-related support files are stored.

ms525240.alert_caution(en-us,VS.90).gifImportant Note:

The specified log-file directory must be on the local computer.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

EXPANDSZ

ABO Data Type

EXPANDSZ_METADATA

Schema Default

%Windir%\System32\LogFiles

Internal Default

Not specified.

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

4001

Friendly ID

MD_LOGFILE_DIRECTORY

Property Attributes

INHERIT

User Type

IIS_MD_UT_SERVER

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/MSFTPSVC

IIsFtpService

/LM/W3SVC/n

IIsWebServer

/LM/MSFTPSVC/n

IIsFtpServer

/LM/NNTPSVC

IIsNntpService

/LM/NNTPSVC/n

IIsNntpServer

/LM/SMTPSVC

IIsSmtpService

/LM/SMTPSVC/n

IIsSmtpServer

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also