Note To enable logging, you must click to select both the Enable Logging check box on the Web Site tab and the Log visits check box on the Home Directory tab.
To enable logging on a Web site, follow these steps:
|1.||Open IIS. To do this, click Start, point to Programs, point to Administrative Tools, and then click Internet Services manager. (In Windows 2000 Professional, Adminstrative Tools is located in Control Panel.)|
|2.||Click the plus sign (+) next to your server name.|
|3.||Right-click the Web site or FTP site, and click Properties.|
|4.||On the Website or FTP Site tab, select Enable Logging.|
|5.||In the Active log format list, select a format. By default, Enable Logging is selected and the format is W3C Extended Log File Format, with the following fields enabled for logging: Time, Client IP Address, Method, URI Stem, and HTTP Status. Select the items that you want to monitor in the log, leaving the defaults unless you want to customize your monitoring.NOTE: If the format you select is ODBC logging, click Properties and then type the data source name and the name of the table that is within the database in the text boxes. If a user name and password are required to access the database, type these also and click OK.|
|6.||Click Apply, then click OK.|