This identifier specifies how often Microsoft® Windows NT® should create a new log file. The value can indicate that the server is to create a new log file daily, weekly, or monthly, or if the value is MD_LOGFILE_PERIOD_MAXSIZE, a new log file is created when the current log file has reached the maximum size specified in MD_LOGFILE_TRUNCATE_SIZE.
| Data type | DWORD |
| Default inheritance | Inheritable |
| User type | IIS_MD_UT_SERVER |
| Constant | Value | Description |
|---|---|---|
| MD_LOGFILE_PERIOD_MAXSIZE | 0x00000000 | Create log file after reaching maximum size |
| MD_LOGFILE_PERIOD_DAILY | 0x00000001 | Create new log file daily |
| MD_LOGFILE_PERIOD_WEEKLY | 0x00000002 | Create new log file weekly |
| MD_LOGFILE_PERIOD_MONTHLY | 0x00000003 | Create new log file monthly |
This identifier is available at the following metabase keys:
| Metabase Path | Key Type |
|---|---|
| /LM/MSFTPSVC | IIsFtpService |
| /LM/MSFTPSVC/n | IIsFtpServer |
| /LM/W3SVC | IIsWebService |
| /LM/W3SVC/n | IIsWebServer |
LogFilePeriod, MD_LOGFILE_TRUNCATE_SIZE