HTTP_LOGGING_ROLLOVER_TYPE enumeration

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  { 
  HttpLoggingRolloverSize,
  HttpLoggingRolloverDaily,
  HttpLoggingRolloverWeekly,
  HttpLoggingRolloverMonthly,
  HttpLoggingRolloverHourly
} HTTP_LOGGING_ROLLOVER_TYPE, *PHTTP_LOGGING_ROLLOVER_TYPE;

Constants

HttpLoggingRolloverSize

The log files are rolled over when they reach a specified size.

HttpLoggingRolloverDaily

The log files are rolled over every day.

HttpLoggingRolloverWeekly

The log files are rolled over every week.

HttpLoggingRolloverMonthly

The log files are rolled over every month.

HttpLoggingRolloverHourly

The 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.

FormatRollover Type Filename Pattern
Microsoft IIS Log FormatSizeinetsvnn.log
Hourlyinyymmddhh.log
Dailyinyymmdd.log
Weeklyinymmww.log
Monthlyinyymm.log
NCSA Common Log File FormatSizencsann.log
Hourlyncyymmddhh.log
Dailyncyymmdd.log
Weeklyncyymmww.log
Monthlyncyymm.log
W3C Extended Log File FormatSizeextendnn.log
Hourlyexyymmddhh.log
Dailyexyymmdd.log
Weeklyexyymmww.log
Monthlyexyymm.log

 

The following table lists time element characters and what they represent.

ItemDescription
yyThe two digit representation of the year.
mmThe two digit representation of the month.
wwThe two digit representation of the week.
ddThe two digit representation of the day.
hhThe two digit representation of the hour in 24 hour notation.
nnThe two digit representation of the numerical sequence.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Http.h

See also

HTTP Server API Version 2.0 Enumeration Types
HTTP_LOGGING_INFO

 

 

Community Additions

ADD
Show:
© 2014 Microsoft