Sample: IIS Logging Module

Article translations Article translations
Article ID: 259552 - View products that this article applies to.
This article was previously published under Q259552
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SUMMARY

LogMod.exe is a sample that demonstrates how to a write a custom logging module for Internet Information Services (IIS).

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:

Collapse this imageExpand this image
Download
Download the LogMod.exe package now.

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

LogMod.exe includes a Microsoft Visual C++ 6.0 workspace for a custom logging module. A custom logging module is server that is based on Microsoft Component Object Model (COM). The COM-based server is loaded by Internet Information Services (IIS) to perform a custom logging task. On computers that are running IIS 6.0, you must implement ILogUIPlugin2. For more information, download the sample from the following Microsoft Web site:
http://download.microsoft.com/download/4/4/2/442D1035-E9D2-43E9-8E18-F6D1849F5CE4/LogModUpdate.exe


LogMod.exe implements the ILogPlugin and the ILogUIPlugin interfaces. The custom logging module outputs debug messages when it receives IIS notification.

To install this sample, follow these steps:
  1. Register SampLogPlugin.dll as a COM object on the computer that is running IIS.
  2. Run LogMod.vbs to register the logging module with IIS.
  3. Start Dbmon.exe to see the debug output.
  4. In Microsoft Management Console (MMC), click My New Logging Module in the Active log format list.

Properties

Article ID: 259552 - Last Review: February 28, 2014 - Revision: 2.3
APPLIES TO
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
  • Microsoft Internet Information Services 6.0
Keywords: 
kbnosurvey kbarchive kbdownload kbsample kbhowto kbfile KB259552

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com