I'm trying to capture the values of about 15 variables within my sysssislog when my package executes.
I have set all the variables to true for "Raise event when variable value changes" and I understand I have to put some sort of object/code into the Event handler but I'm totally unsure as to what this should look like for the 15 variables.
Can anyone offer some examples please?
After the
RaiseChangedEventproperty is set to true on the variable theOnVariableValueChangedevent will need be selected for logging toSYSSSISLOG. This can be done by right-clicking the package and selecting Logging then going to the Details tab and checking the check-box for theOnVariableValueChangedevent. After this click the Advanced button and check the box for each element that will be logged, for instanceComputer,SourceName, etc. To see the actual value that the variable was changed to query theSSISDB.CATALOG.EVENT_MESSAGESDMV following package execution. TheMESSAGEcolumn will show the value that the variable was set as during package execution.