Compartir a través de


LogFileDirectory Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

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

Important

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

Attribute Name Attribute Value

XML Data Type

EXPANDSZ

WMI Data Type

String

ADSI Data Type

EXPANDSZ

ABO Data Type

EXPANDSZ

ABO Metabase Identifier

MD_LOGFILE_DIRECTORY

Attributes

INHERIT

Default Value

%windir%\system32\logfiles

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

4001

Configurable Locations

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

Metabase Path IIS Admin Object Type

/LM/W3SVC/n

IIsWebServer

/LM/MSFTPSVC/n

IIsFtpServer

/LM/W3SVC

IIsWebService

/LM/MSFTPSVC

IIsFtpService

/LM/NNTPSVC

IIsNntpService

/LM/NNTPSVC/n

IIsNntpServer

/LM/SMTPSVC

IIsSmtpService

/LM/SMTPSVC/n

IIsSmtpServer

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.