In the Add a new log section you can select a Provider type. I have selected the SSIS log provider for SQL Server since I want to log the error to the database. The ErrorLogConn is the Environment variable that I have created in Project level. ( This points to the msdb database where I want to log the error)
In the following screen you get to select the events that you want to log for. I have selected only the following events keeping in mind that selecting all events might fill up the database soon.
OnError
OnTaskFailed
OnWarning
Once you hit OK an save the project, deploy it and that's all.
You can run the following to see the last error
(The above query was taken from the blog http://dataqueen.unlimitedviz.com/2012/08/logging-in-ssis/ - an awesome blog!)
ReplyDeleteThanks for sharing Good Information
Sql server DBA Online Course Bangalore