Creating a Logging User Interface Module
When you create your own custom logging module, you have three user interface options:
- No user interface module: This option is appropriate if your logging module has no configurable settings, or if you'd rather provide access to your logging module through mechanisms other than those used by IIS.
- Use a built-in user interface module: You can, in effect, borrow one of the user interface modules provided with the built-in IIS logging modules. The user interface module GUID specified under the Microsoft IIS Log File Format key of the /LM/LOGGING path in the metabase would be most appropriate for this use, because it provides basic configuration functionality.
- Create a new user interface module: You can create your own COM object that implements the appropriate interfaces.
You are not restricted to performing any fixed set tasks in your user interface module.
To create and install a logging user interface module
- Either write a COM component that implements the ILogUIPlugin interface, as defined in the ilogobj.h header file, or use one of the built-in user interface modules.
- Use Regsvr32.exe, or some other registration tool, to register the component.
- Add your logging user interface module GUID to the LogModuleUiId key in the metabase.
The UI module must be resident and registered on the machine on which Internet Service Manager is running. This requirement is particularly important if you intend to administer your custom logging module remotely; the logging module itself can be running on a remote machine, but the logging UI module must be local. If you intend to administer your logging module remotely, you should implement the logging module in a separate DLL from the logging module UI.