Integration Services Log Providers
SQL Server Integration Services 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.
You cannot use the SQL Server Profiler log provider in a package that is running in 64-bit mode.
The SQL Server log provider, which writes log entries to the sysssislog table in a SQL Server 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.
SQL Server Profiler
Windows Event Log
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: