Export (0) Print
Expand All

Enabling Web Management Service W3C Logging

Updated: June 2, 2010

Applies To: Windows Server 2008 R2

When you enable this type of logging, HTTP and HTTPS requests made to the Web Management service are logged in W3C format to the location that you specify. The default location is %systemdrive%\inetpub\logs\wmsvc\W3SVC1\u_ex <YYMMDD>.log.

This logging, like IIS W3C logging, has a low overhead and can be used to track HTTP errors and request volume. It does not provide specific details about failures other than the HTTP error code, so it may not be suitable for troubleshooting all Web Deploy operation failures. Before you can enable W3C logging, the Web Management Service must be stopped, and then started again.

WMSvc W3C logging records the following kinds of requests.

  • Requests to the Web Deploy handler, Msdeploy.axd

  • Management service requests to Service.axd

  • Code download requests to Download.axd

  • Ping requests to Ping.axd

  • Login requests to Login.axd

An example W3C format log entry follows.

2009-07-27 -- POST /msdeploy.axd - 8172 - <IP Address> - 401 2 5 21

  1. Open IIS Manager. For information about opening IIS Manager, see Open IIS Manager (IIS 7).

  2. In the Connections pane, select the node of the server for which you want to enable W3C logging.

    WarningWarning
    Because W3C logging can be enabled only at the server level, you must select a server in the Connections pane, and not a site or an application.

  3. In Features View, select Management Service.

  4. In the Actions pane, click Open Feature. The Management Service window appears.

  5. In the Actions pane, click Stop to stop the management service if it is not already stopped.

  6. In Features View, under Connections, select Log requests to and specify a path. The default path is %SystemDrive%\Inetpub\logs\WMSvc.

  7. In the Actions pane, click Start to start the management service.

The registry location for WMVSvc W3C logging is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebManagement\Server\EnableLogging. EnableLogging is a DWORD. A value of 0 means disabled; 1 means enabled.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft