[This is preliminary documentation and subject to change]

LogFileDirectory

This metabase property specifies the default logging directory, in which the log file and logging-related support files are stored.

important Important    The log-file directory that is specified must be on the local computer.

Attribute NameAttribute Value
Data TypeEXPANDSZ
AttributesINHERIT
Default Value%Windir%\System32\LogFiles
MetaFlagsExCACHE_PROPERTY_MODIFIED | WAS_NOTIFICATION
User TypeIIS_MD_UT_SERVER
StartingNumber
EndingNumber
ID4001

Access Locations

This property is accessible at the following locations:

Metabase PathIIS Admin Object Type
/LM/MSFTPSVC/Info/Templates/Public FTP SiteIIsFtpServer
/LM/MSFTPSVCIIsFtpService
/LM/NNTPSVC/1IIsNntpServer
/LM/NNTPSVCIIsNntpService
/LM/W3SVC/1IIsWebServer
/LM/W3SVC/2IIsWebServer
/LM/W3SVC/Info/Templates/Public Web SiteIIsWebServer
/LM/W3SVC/Info/Templates/Secure Web SiteIIsWebServer
/LM/W3SVCIIsWebService

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier
MD_LOGFILE_DIRECTORY
Data typeEXPANDSZ
User typeIIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.