[This is preliminary documentation and subject to change]
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.
Note
The minimum file size allowed is 131,072
bytes. If this property is set to a value less than 131,072 bytes,
the default value is implicitly assumed as 131,072
bytes.
| Attribute Name | Attribute Value |
| Data Type | DWORD |
| Attributes | INHERIT |
| Default Value | 2000000 |
| MetaFlagsEx | CACHE_PROPERTY_MODIFIED | WAS_NOTIFICATION |
| User Type | IIS_MD_UT_SERVER |
| StartingNumber | |
| EndingNumber | 0 |
| ID | 4004 |
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_TRUNCATE_SIZE |
| Data type | DWORD |
| User type | IIS_MD_UT_SERVER |