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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Creating logs for standalone Talend jobs

I want to schedule talend .sh files with cronjob daily.
How can I setup log files which logs daily run and in case of error details the error? 
Thanks 
Labels (2)
3 Replies
Anonymous
Not applicable

Hi,
You can use tLogCatcher to fetch error in your job and output the error message into a file.
The workflow should be:
xxx-->xxxx-->xxx(Main subjob)
tLogCatcher-->tFileOutputDelimited(log error into a file)
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III
Author

Thank you for the reply. 
I would also like that daily job run also logs different steps run in the job. 
What can I use for that?
Anonymous
Not applicable

Hi,
I would also like that daily job run also logs different steps run in the job.

For debug,  you can add some tLogRow components in the job to print the data on the console. Add this word "pause" at the end line of job script(.bat or .sh), to see the message printed on the console before the window closes.
Here is also static log( TalendHelpCenter:tStatCatcher) which gathers the Job processing metadata at the Job level and at the component level(Moment, pid, father_pid,root_pid...etc)
Best regards
Sabrina