Microsoft KB Archive/242898

= IIS Log File Naming Syntax =

Article ID: 242898

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Services 5.0
 * Microsoft Internet Information Services 6.0

-



This article was previously published under Q242898



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SUMMARY
Internet Information Server (IIS) version 4.0 and Internet Information Services versions 5.0 and later support the following log file formats:
 * Microsoft IIS Log Format
 * National Center for Supercomputing Applications (NCSA) Common Log File Format
 * World Wide Web Consortium (W3C) Extended Log File Format
 * ODBC Logging

This article describes the naming syntax used when Internet Information Services creates log files.



MORE INFORMATION
The following tables list the log file intervals and file names for each available for each log file format using the following syntax:
 * nn = Sequential Digits
 * yy = Year
 * mm = Month
 * ww = Week
 * dd = Day
 * hh = Hour (24-hour format)

W3C Extended Log File Format
For information about formatting and about the required steps for ODBC logging, see the "About Logging Activity" topic in IIS Help.

IIS 6.0 also supports centralized binary logging. Centralized binary logging is the process by which multiple Web sites write binary, unformatted log data to a single log file. When enabled, all Web sites on your Web server that run IIS write log data to a single log file.

The following file format is used for centralized binary logging:

