Click to Rate and Give Feedback
TechNet
TechNet Library
Windows
Windows Server
Windows Server 2003
 Enabling W3C Centralized Logging
Enabling W3C Centralized Logging

Updated: August 22, 2005

W3C centralized logging is a global configuration on the server where all Web sites write data to a single log file. This single log file uses the W3C Extended log file format and can be viewed in a text editor. W3C centralized logging is available in Windows Server 2003 Service Pack 1 or later. For more information about this logging option, see W3C Centralized Logging.

By default, log files are stored in the Windows/system32/logfiles/W3SVC directory. After you enable, W3C centralized logging, IIS creates a new log file and all Web sites begin writing data to that single source.

ImportantImportant
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 enable W3C Centralized Logging

  1. From a command prompt, type Adsutil.vbs set w3svc/CentralW3CLoggingEnabled true

  2. The World Wide Web Publishing Service (WWW service) must be stopped and restarted for changes to take effect. From the command prompt, type net stop W3SVC, and press ENTER. The WWW service stops.

  3. Type Net start w3svc

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker