Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ganeshK
Contributor
Contributor

How to log the component errors in log file

Hi,

I am having talend data integration job which performs read the data from text files and insert into DB2 database.

If any of the component failed for the particular file, I need to log the exact error from component and filename as well.

Note: Job should continue run with other input files without fail.

Please help.

My Workflow is:

tFileInput -> tInputDelimited -> tMap -> tDB2Output -> tDB2Commit

0695b00000GhGXuAAN.png

Labels (2)
2 Replies
Anonymous
Not applicable

Hello,

The component "ERROR_MESSAGE" variable will be populated when "Die on error" is checked then only you can capture the error_message and load it into log file.

With your note" job should continue run with other input files without fail", the use of another child job calling a tRunJob component could be a work-around to implement this requirement.

Best regards

Sabrina

gjeremy1617088143
Master
Master

HI @not specified not specified​ , you can use a tlogcatcher linked to a TFileInputDelimited for example with option append check.

https://help.talend.com/r/2D09JR6TM4RnxlOJG3A_QA/iKjUX2mLkkwKtofTlMG0Bg

Send me Love and Kudos