Topic Last Modified: 2007-05-16

Review the following information to determine how to use logging for Windows Server 2008 SMTP Server together with other Internet Information Services (IIS) services.

Using the Default Settings

If you use the default settings for all IIS services, transaction logs are generated daily for all services. However, the format differs. The default format for the Web and FTP services is the World Wide Web Consortium (W3C) Extended Log format. Transactions for these services are combined in a file that uses the default options only for this format. The default format for SMTP virtual servers is Microsoft IIS Log File format. Transactions are recorded in a separate file.

Determining Which Format to Use

The default formats for the IIS services differ. If you want to combine records for all services in one file, select the same format for all services. When you select a format, you should also determine how you want to review the data. Three of the four formats write records to ASCII text files, some in space-delimited format and some in comma-delimited format. One of the options writes records to an open database connectivity (ODBC)-compliant database.

Determining How to Set Up the Log File

Consider the items in the following table when you set up transaction log files.

Item Description

Recording frequency

Determine whether you want the files to log daily, weekly, or monthly.

Log file contents

Determine what to include in a log file. If you use the default file names for all IIS services and use the same format, the transaction records can be merged into one log file. If you use the same format for all services and want a separate file for SMTP virtual servers, designate a separate file for the transaction log.

Log file size

Determine whether you want the file size to be unlimited or set to a specific size.