Udostępnij za pośrednictwem


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 Sample and EmailLogProvider Sample.

In This Section

This section describes how to create, configure, and code a custom log provider.

Topic Description

Creating a Custom Log Provider

Describes how to create the classes for a custom log provider project.

Coding a Custom Log Provider

Describes how to implement a custom log provider by overriding the methods and properties of the base class.

Developing a User Interface for a Custom Log Provider

Custom user interfaces for custom log providers are not supported in SQL Server 2005 Integration Services (SSIS).

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

Developing Custom Objects for Integration Services

Describes the basic steps in implementing all types of custom objects for Integration Services.

Persisting Custom Objects

Describes custom persistence and explains when it is necessary.

Building, Deploying, and Debugging Custom Objects

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

Developing a Custom Task

Discusses how to program custom tasks.

Developing a Custom Connection Manager

Discusses how to program custom connection managers.

Developing a Custom ForEach Enumerator

Discusses how to program custom enumerators.

Developing a Custom Data Flow Component

Discusses how to program custom data flow sources, transformations, and destinations.

See Also

Concepts

Programming Samples

Help and Information

Getting SQL Server 2005 Assistance