Customizing W3C Extended Logging (IIS 6.0)

If you selected the W3C Extended log file format for a Web or FTP site, you can customize the logged data. You can also limit unnecessary data and reduce the size of the log file by omitting unneeded fields.


You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".


To customize W3C Extended logging


In IIS Manager, expand the local computer, expand the Web or FTP Sites folder, right-click the Web or FTP site, and click Properties.


On the Web Site or FTP Site tab, select the Enable logging check box (if it is not already selected).


In the Active log format list box, click W3C Extended Log File Format.


Click Properties.


On the Advanced tab, select the properties you want to log.


Click OK.

Related Information

For an explanation of W3C Extended logging fields, including a detailed technical breakdown of the time-taken field, see W3C Extended Log File Format.

For information about the Protocol Substatus field, see Substatus Error Codes in Log Files.

© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies