Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The HTTP_LOGGING_ROLLOVER_TYPE enumeration defines the log file rollover types.
This enumeration is used in the HTTP_LOGGING_INFO structure.
Syntax
typedef enum _HTTP_LOGGING_ROLLOVER_TYPE {
HttpLoggingRolloverSize,
HttpLoggingRolloverDaily,
HttpLoggingRolloverWeekly,
HttpLoggingRolloverMonthly,
HttpLoggingRolloverHourly
} HTTP_LOGGING_ROLLOVER_TYPE, *PHTTP_LOGGING_ROLLOVER_TYPE;
Constants
HttpLoggingRolloverSizeThe log files are rolled over when they reach a specified size. |
HttpLoggingRolloverDailyThe log files are rolled over every day. |
HttpLoggingRolloverWeeklyThe log files are rolled over every week. |
HttpLoggingRolloverMonthlyThe log files are rolled over every month. |
HttpLoggingRolloverHourlyThe log files are rolled over every hour, based on GMT. |
Remarks
The log files are named based on the rollover type and logging format as shown in the following table.
| Format | Rollover Type | Filename Pattern |
|---|---|---|
| Microsoft IIS Log Format | Size | inetsvnn.log |
| Hourly | inyymmddhh.log | |
| Daily | inyymmdd.log | |
| Weekly | inymmww.log | |
| Monthly | inyymm.log | |
| NCSA Common Log File Format | Size | ncsann.log |
| Hourly | ncyymmddhh.log | |
| Daily | ncyymmdd.log | |
| Weekly | ncyymmww.log | |
| Monthly | ncyymm.log | |
| W3C Extended Log File Format | Size | extendnn.log |
| Hourly | exyymmddhh.log | |
| Daily | exyymmdd.log | |
| Weekly | exyymmww.log | |
| Monthly | exyymm.log |
The following table lists time element characters and what they represent.
| Item | Description |
|---|---|
| yy | The two digit representation of the year. |
| mm | The two digit representation of the month. |
| ww | The two digit representation of the week. |
| dd | The two digit representation of the day. |
| hh | The two digit representation of the hour in 24 hour notation. |
| nn | The two digit representation of the numerical sequence. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | http.h |