LogFileTruncateSize

IIS 6.0

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.

ms525032.alert_note(en-us,VS.90).gifNote:

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

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

2000000

Internal Default

20971520

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

4004

Friendly ID

MD_LOGFILE_TRUNCATE_SIZE

Property Attributes

INHERIT

User Type

IIS_MD_UT_SERVER

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

There are no flags for this property.

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

Show: