LogFileDirectory

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

Important   The log-file directory specified must be local.

Data type String
Default value %windir%\System32\LogFiles
Inheritance Inheritable

Access Locations

This property is accessible at the following locations:

Metabase Path Key Type
/LM/MSFTPSVC IIsFtpService
/LM/MSFTPSVC/N IIsFtpServer
/LM/W3SVC IIsWebService
/LM/W3SVC/N IIsWebServer

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 type EXPANDSZ_METADATA
User type IIS_MD_UT_SERVER