Enabling Transaction Logging

Use the SMTP Site property page to enable transaction logging and to select the format. When setting up the log file, keep in mind that the log formats and default file names are the same as those used by other IIS services. If you choose 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 it is stored on a local drive and not on a network.

To enable logging that uses one of the ASCII text formats
  1. Select the SMTP Site property sheet.
  2. Select Enable Logging.
  3. In the Active log format box, select a transaction log format from the list.
  4. Select Properties, and then set the log file size and location.
  5. If you have chosen the W3C Extended Logging format, select the Extended Properties tab and select the items you want to track.
To enable logging that uses the ODBC format
  1. Set up an ODBC-compliant database.
  2. Select the SMTP Site property sheet.
  3. Select Enable Logging.
  4. In the Active log format box, select ODBC Logging.
  5. Select Properties, and then set the log file size and location.

© 1997 Microsoft Corporation. All rights reserved.