Developing a Custom Log Provider
Integration Services has extensive logging capabilities that make it possible to capture events that occur during package execution. Integration Services includes a variety of log providers that enable logs to be created and stored in formats such as XML, text, database, or in the Windows event log. If the log providers and the output formats that are provided do not entirely meet your requirements, you can create a custom log provider.
To create a custom log provider, you have to create a class that inherits from the LogProviderBase base class, apply the DtsLogProviderAttribute attribute to your new class, and override the important methods and properties of the base class, including the ConfigString property and the Log method.
For working samples of custom log providers, see the HtmlLogProvider 示例 and EmailLogProvider 示例.
In This Section
This section describes how to create, configure, and code a custom log provider.
Topic | Description |
---|---|
Describes how to create the classes for a custom log provider project. |
|
Describes how to implement a custom log provider by overriding the methods and properties of the base class. |
|
Custom user interfaces for custom log providers are not supported in SQL Server 2005 Integration Services (SSIS). |
Related Topics
For information that is common to all the type of custom objects that you can create in Integration Services, see the following topics.
Topic | Description |
---|---|
Describes the basic steps in implementing all types of custom objects for Integration Services. |
|
Describes custom persistence and explains when it is necessary. |
|
Describes the techniques for building, signing, deploying, and debugging custom objects. |
For information on the other types of custom objects that you can create in Integration Services, see the following topics.
Topic | Description |
---|---|
Discusses how to program custom tasks. |
|
Discusses how to program custom connection managers. |
|
Discusses how to program custom enumerators. |
|
Discusses how to program custom data flow sources, transformations, and destinations. |