LogFileTruncateSize
The LogFileTruncateSize 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.
Schema Attributes
Attribute Name |
Value |
---|---|
DWORD |
|
DWORD_METADATA |
|
2000000 |
|
20971520 |
|
Not specified |
|
Not specified |
|
4004 |
|
MD_LOGFILE_TRUNCATE_SIZE |
|
INHERIT |
|
IIS_MD_UT_SERVER |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path |
IIS Admin Object Type |
---|---|
/LM/W3SVC |
IIsWebService |
/LM/MSFTPSVC |
IIsFtpService |
/LM/W3SVC/n |
IIsWebServer |
/LM/MSFTPSVC/n |
IIsFtpServer |
/LM/NNTPSVC |
IIsNntpService |
/LM/NNTPSVC/n |
IIsNntpServer |
/LM/SMTPSVC |
IIsSmtpService |
/LM/SMTPSVC/n |
IIsSmtpServer |
Flags
There are no flags for this property.
Requirements
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS