Enabling Logging

You can enable logging for individual Web and FTP sites and choose the log format. When logging is enabled, it is enabled for all the site's directories, but you can disable it for specific directories.

To enable logging on a Web or FTP site
  1. Select a Web or FTP site, and open its property sheets.
  2. On the Web Site or FTP Site property sheet, select the Enable Logging check box.
  3. In the Active log format list, select a format. By default, the Enable Logging check box is selected and the format is W3C Extended Log File Format, with the following fields enabled: Time, Client IP Address, Method, URI Stem, and HTTP Status.
  4. Note   If the format you select is ODBC logging, click Properties and then type the Data Source Name and the name of the table within the database in the boxes. If a user name and password are required to access the database, type these also and click OK.

  5. Click Apply.
  6. Click OK.
To disable or enable logging for a specific directory on a site
  1. Select the directory and open its property sheets.
  2. On the Home Directory or Directory property sheet, find the Log visits check box. By default, the check box is selected.
  3. To disable logging for the directory, clear the check box; to enable logging, select the check box. These settings do not affect process accounting.

Related Topics


© 1997-1999 Microsoft Corporation. All rights reserved.