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: 
Anonymous
Not applicable

Post log to a file for each job run

Gurus,
I'm new to Talend. I was from different ETL tool background Datastage. 
There, if jobs were scheduled through some third party scheduler, logs will be written to a file or we can view the log history in Director. 
But in Talend, I don't find such option.Only if you run the job through UI, we can view the log console. 
-->Don't know, where log file was written.
-->There is a option in Project Settings/Job Settings/Stats & Logs to load the logs & stats to file.It looks like all logs were consolidated in the same file for the entire project not specific to job.
-->I also gone through some components, where logs & errors can be captured. But it requires those additional components to be added in all the jobs.I don't want to do that. 
Is there is any other way to capture the entire logs,traces and errors for each job? Kindly help me.
Thanks

Labels (2)
6 Replies
Anonymous
Not applicable
Author

Talend jobs are Java programs. The used logging framework is log4j (version 1).
You can enable logging by your self in the view Job:

0683p000009MGpw.png
Anonymous
Not applicable
Author

Thanks.
I enabled tlogcatcher feature in project & job level. Log file is not created. File is created only if any error occurs in job.
Whereas, If I enable tstatcatcher, file was written for each run irrespective of its status.
Even for Volumetrics, file is not created for each run.

I want to capture all the logs & errors in the same file, irrespective of its status(success or failure).
Anonymous
Not applicable
Author

hi Every1...
i am new to Talend.
i want to check each record insertion time and number of record insert at same time. Such as  at tMysqlInput 10 record read and at tMysqlSCD only 7 record write So.. where all record goes? Time being of all process... In Log file only start and stop time is written and if exception occur that is mentioned... but i want each record detail.... can any has solution to this question? Any other way to find it? plz help me..

Regards,
Anand Yadav
Anonymous
Not applicable
Author

Hi  Anand Yadav
Usually, we use t FlowMeterCatcher which can record the number of rows processed in the defined flow(prerequisite: you have to use tFlowMeter in your job).
Please take a look at component reference:TalendHelpCenter:tFlowMeterCatcher with related scenario.
Best regards
Sabrina
Anonymous
Not applicable
Author

Thank u xdshi for ur reply. i got the my answer.
Anonymous
Not applicable
Author

Hi anand_talend,


Thanks for your feedback. Feel free to post your issue here.
Best regards
Sabrina