I'm importing a number of excel files into my SQL table and want to be able to get the name of the excel file if it causes an import error.

I have created an SSIS log with all events selected. Doing so gives me pages and pages of info in my text file.

The part of the text I want is

Diagnostic,SHDKMNH,SHK\andrew.gill,Budgets,{..,Ex ternalRequest_pre: The object is ready to make the following external request: 'IDataInitialize::GetDataSource(NULL, CLSCTX_INPROC_SERVER, ConnectionString: Provider=Microsoft.ACE.OLEDB.12.0;Data Source=G:\4. Financial \ Accounting\ Dep\ SQ\Budget Sheets One off\ Finance Forecast 12-13.xlsb;Extended Properties="EXCEL 12.0;HDR=YES";,...)'.

OnWarning,SHK003609,SHK\andrew.gill,Budgets,{,0x ,The external columns for component "Excel Source" (1) are out of synchronization with the data source columns. The column "FY 1" needs to be added to the external columns.

The column "FY 2" needs to be added to the external columns

The external column "FMON_12" (561) needs to be removed from the external columns

I have tried to select the events individually but by doing so I never got the above error message.

Does anyone know the event(s) I need to select just to be able to get the above.