Hi,
I am working on the design of an SSIS package and have been using logs (into text file) into that.
I intend to capture only the Source Name into the log file for Preexecute, Postexecute and OntaskFailed events.
The problem is that in each line of the log file, I am getting 2 entries for current datetime instead of the expected one entry.
For e.g:-
OnPreExecute,,,Step 10a,,,6/2/2015 9:44:46 PM,6/2/2015 9:44:46 PM,0,0x,
OnPostExecute,,,Step 10a,,,6/2/2015 9:54:14 PM,6/2/2015 9:54:14 PM,0,0x,
OnPreExecute,,,Step 13a,,,6/2/2015 9:54:14 PM,6/2/2015 9:54:14 PM,0,0x,
OnPostExecute,,,Step 13a,,,6/2/2015 9:58:28 PM,6/2/2015 9:58:28 PM,0,0x,
OnPreExecute,,,Step 15a,,,6/2/2015 9:58:28 PM,6/2/2015 9:58:28 PM,0,0x,
OnPostExecute,,,Step 15a,,,6/2/2015 9:59:10 PM,6/2/2015 9:59:10 PM,0,0x
As you can see above, I am getting current date time entry 2 times. However, I need that entry just once.
Can anyone please help where I am going wrong or what modification I need to do?
Thanks, in Advance
Prasune Verma