Topic Last Modified: 2007-01-24

Use the General tab to enable protocol logging and to select the format. When you set up the log file, remember that the log formats and default file names are the same as those used by other Internet Information Services (IIS) services. If you select the default names, all transactions for all services are recorded in the same file. You can set up a separate file for each service if you want to maintain separate records.

If you set up the file in a location other than the default, make sure that it is stored on a local drive and not on a network.

Procedure

To enable logging that uses one of the ASCII text formats

  1. In Microsoft Management Console, select the SMTP virtual server, and then click Properties on the Action menu.

  2. On the General tab, select Enable logging.

  3. In the Active log format drop-down menu, select a transaction log format.

  4. Click Properties, and then set the log file size and location.

  5. If you have chosen the World Wide Web Consortium (W3C) Extended Logging format, click the Extended Properties tab, and then click the items that you want to track.

To enable logging that uses the ODBC format

  1. Set up an ODBC-compliant database. For instructions about how to set up an open database connectivity (ODBC)--compliant database, see Set Up an ODBC-Compliant Database.

  2. On the General tab, click Enable logging.

  3. In the Active log format drop-down menu, click ODBC Logging.

  4. Click Properties, and then set the log file size and location.