Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
In my package I want to get the worning message displayed in the progress tab and log it into a file.Can any one suggets how to do that.For error logging there are system variables like ERRORCODE,ERRORDESCRIPTION.Are there any variables for worning in ssis.

Regards,
Sourav
Posted

1 solution

You can create an Event Handler that happens when the "OnWarning" event occurs, just like you can do an Event Handler that happens when the "OnError" event occurs. If there are multiple warnings, it will run multiple times. You can create the Event Handler at the package level or just at the level of execution you want. If you turn on logging for the package, you can include "OnWarning" messages to the log file as well.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900