Enable Logging

You can enable logging for individual Web and File Transfer Protocol (FTP) sites. After you enable logging for a Web or FTP site, all traffic to the site (including virtual directories) is written to the corresponding file for each site. You can also enable logging for specific virtual directories.

Requirements

  • Credentials: Membership in the Administrators group on the local computer.

  • Tools: Iis.msc.

Recommendation

As a security best practice, log on to your computer using an account that is not in the Administrators group, and then use the Run as command to run IIS Manager as an administrator. At the command prompt, type runas /user:administrative_accountname "mmc %systemroot%\system32\inetsrv\iis.msc".

To enable logging on a Web or ...

Get Internet Information Services (IIS) 6 Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.