[This is preliminary documentation and subject to change]
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 that is specified
must be on the local computer.
| Attribute Name | Attribute Value |
| Data Type | EXPANDSZ |
| Attributes | INHERIT |
| Default Value | %Windir%\System32\LogFiles |
| MetaFlagsEx | CACHE_PROPERTY_MODIFIED | WAS_NOTIFICATION |
| User Type | IIS_MD_UT_SERVER |
| StartingNumber | |
| EndingNumber | |
| ID | 4001 |
This property is accessible at the following locations:
| Metabase Path | IIS Admin Object Type |
| /LM/MSFTPSVC/Info/Templates/Public FTP Site | IIsFtpServer |
| /LM/MSFTPSVC | IIsFtpService |
| /LM/NNTPSVC/1 | IIsNntpServer |
| /LM/NNTPSVC | IIsNntpService |
| /LM/W3SVC/1 | IIsWebServer |
| /LM/W3SVC/2 | IIsWebServer |
| /LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer |
| /LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer |
| /LM/W3SVC | IIsWebService |
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 |
| User type | IIS_MD_UT_SERVER |