SSIS Script Task: how to register at the exit using Dts.Log

I searched a lot for this, but no luck.

I have a script task inside which I wrote C # code. I look and I want to print the output, like what we see inOutput Window

I am using Dts.Log () using the code below:

Dts.Log("List of files are loaded: ", 0, new byte[0]);

But I don’t see anything in the output window.

I have already enabled logging, as you can see:

SSIS Log Configuration

I know if I use

Dts.Events.FireInformation

He does the job, but I like to know how I can use Dts.Log()for this purpose.

+4
source share
1 answer

A very old question, but in any case, it may be worth the answer.

Dts.Log, , . SSIS "Log Events".

SSIS , Scrip Task node.

SSIS ?.

0

Source: https://habr.com/ru/post/1650945/


All Articles