Microsoft KB Archive/259552

= Sample: IIS Logging Module =

Article ID: 259552

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Services 5.0
 * Microsoft Internet Information Services 6.0

-



This article was previously published under Q259552



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:

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.

Keywords: kbhowto kbdownload kbfile kbsample KB259552

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.