### LogFileTruncateSize

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 the property is set to a default value less than 131,072 bytes, the default value is implicitly assumed as 131,072 bytes.

Data type | Integer
Default value | 20971520 (bytes)
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_TRUNCATE_SIZE
User type | IIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.