Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way of logging in SSIS

There are 5 different types of logging in SSIS

  1. Event Log
  2. Text File
  3. XML File
  4. SQL Server
  5. SQL Server Profiler

I am in a production environment where developers do not have access to production systems.

Which logging method should be my poison of choice, and why?

like image 566
Raj More Avatar asked Jul 29 '09 01:07

Raj More


People also ask

How many logging levels are there in SSIS?

Logging the execution of a package stored in the SSIS catalog couldn't be easier. The catalog has four built-in logging levels to choose from: Basic (the default), Performance, Verbose, and None. These logging level determine how much information is logged when the package is executed.

Can I log SSIS execution?

The SSIS log provider for SQL Server in SSIS Package loggingRight-click on the control flow area and go to logging again. Select SSIS Log Provider for SQL Server from the drop-down list and click Add. You can use an existing SSIS package connection or use a new connection for SQL Server.

Can event handlers be used for logging in SSIS?

Event Handlers are supposed to be used to handle that event i.e. not just logging information. In other words, they provide the capability of doing much more that logging. Whereas the SSIS logging just does what the name suggests.


2 Answers

If you're not going to have access to the production server, then SQL Server logging is your best bet by far. You'll have plenty of ways of viewing the logged information, for example via custom SSRS reports or web pages, or direct access to the tables if your DBA allows it. Also, the logs will be easier to search and filter when in a table.

like image 82
grapefruitmoon Avatar answered Sep 28 '22 23:09

grapefruitmoon


Personally I prefer logging to SQL Server.

I think this is because it puts the data in a form which I can immediately access and process. For example, I can then slice and dice the data, export it to another server, setup agent jobs to monitor the logs and email alerts etc.

like image 42
John Sansom Avatar answered Sep 28 '22 21:09

John Sansom