共用方式為


Customizing IIS Logging

If none of the IIS log file formats meets your needs, you can create a custom logging module using the following interfaces. Creating your own custom logging module should be your last resort. For alternatives, see IIS Logging Overview.

Custom logging modules are added to an IIS server by registering a new COM component that implements the ILogPlugin or ILogPluginEx interface.

The topics in this section contain code examples that work together to create a custom logging module, a logging user interface module, and a DLL to register them.

The code examples require the ilogobj.hxx file that ships with the Platform Software Developer Kit (PSDK), which is available on CD or from Platform SDK Update.

In This Section

This section includes the following topics: