Export (0) Print
Expand All
1 out of 7 rated this helpful - Rate this topic

Integration Services Log Providers

SQL Server 2005 Integration Services (SSIS) includes log providers that you can use to implement logging in packages, containers, and tasks. With logging, you can capture run-time information about a package, helping you audit and troubleshoot a package every time it is run. For example, a log can capture the name of the operator who ran the package and the time the package began and finished.

When you add the log to a package, you choose the log provider and the location of the log. The log provider specifies the format for the log data: for example, a SQL Server database or text file.

Integration Services includes the following log providers:

  • The Text File log provider, which writes log entries to ASCII text files in a comma-separated value (CSV) format. The default file name extension for this provider is .log.
  • The SQL Server Profiler log provider, which writes traces that you can view using SQL Server Profiler. The default file name extension for this provider is .trc.
  • The SQL Server log provider, which writes log entries to the sysdtslog90 table in a SQL Server 2005 database.
  • The Windows Event log provider, which writes entries to the Application log in the Windows Event log on the local computer.
  • The XML File log provider, which writes log files to an XML file. The default file name extension for this provider is .xml.

If you add a log provider to a package or configure logging programmatically, you can use either a ProgID or ClassID to identify the log provider, instead of using the names that SSIS Designer displays in the Configure SSIS Logs dialog box.

The following table lists the ProgID and ClassID for the log providers that Integration Services includes.

Log provider ProgID ClassID

Text file

DTS.LogProviderTextFile.1

{59B2C6A5-663F-4C20-8863-C83F9B72E2EB}

SQL Server Profiler

DTS.LogProviderSQLProfiler.1

{5C0B8D21-E9AA-462E-BA34-30FF5F7A42A1}

SQL Server

DTS.LogProviderSQLServer.1

{6AA833A1-E4B2-4431-831B-DE695049DC61}

Windows Event Log

DTS.LogProviderEventLog.1

{97634F75-1DC7-4F1F-8A4C-DAF0E13AAA22}

XML File

DTS.LogProviderXMLFile.1

{AFED6884-619C-484F-9A09-F42D56E1A7EA}

You can also create custom log providers. For more information, see Creating a Custom Log Provider.

The log providers in a package are members of the log providers collection of the package. If you create a package and implement logging by using SSIS Designer, you can see a list of the collection members in the Log Provider folders on the Package Explorer tab of SSIS Designer.

You configure a log provider by providing a name and description for the log provider and specifying the connection manager that the log provider uses. The SQL Server log provider uses an OLE DB connection manager. The Text File, SQL Server Profiler, and XML File log providers all use File connection managers. The Windows Event log provider does not use a connection manager, because it writes directly to the Windows Event log. For more information, see OLE DB Connection Manager and File Connection Manager.

You can set properties through SSIS Designer or programmatically.

A log provider is created and configured as a step in implementing logging in a package. For more information, see Implementing Logging in Packages.

After you create a log provider, you can view and modify its properties in the Properties window of Business Intelligence Development Studio.

Configure a Log Provider Programmatically

For more information about programmatically setting these properties, click the following topic:

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.