This property specifies the maximum size of the log file, in bytes. A new log file is created if a logging event causes the original log file to exceed the size specified in this property.
| Data type | Long |
| Default value | 2048 (2 MB) |
| Inheritance | Inheritable |
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 |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
| Metabase identifier | MD_LOGFILE_TRUNCATE_SIZE |
| User type | IIS_MD_UT_SERVER |