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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
heshkaru
Creator
Creator

How to generate a separate log file for each running job in linux

Hi,

How to generate a separate log file for each running job in linux

Thank you

Labels (2)
3 Replies
Anonymous
Not applicable

Can you give a little more detail as to what you want here and also which product you are using? Are you using the subscription version or Talend Open Studio? What are you trying to log exactly?

heshkaru
Creator
Creator
Author

Im using talend open studio for data intergration.

Im building the job and getting the .zip file. And im running the job in a linux env. For each and every running job i need to generate a specific log file for that job.

 

eg: If I run the job 5 times for a single day I need to have 5 log files for that so that I can verify the job processed correctly.

 

Thank you

Anonymous
Not applicable

OK, well first you will need to work out what you want to log in the job. You could use the built-in AMC functionality and use the tFlowMeter, tFlowMeterCatcher, tLogCatcher and tStatCatcher. These are described in the documents linked to below....

 

https://help.talend.com/r/en-US/8.0/studio-user-guide-open-studio-for-esb/using-tflowmeter-and-tflowmetercatcher-for-error-handling

 

https://help.talend.com/r/en-US/8.0/logs-and-errors/tlogcatcher

 

https://help.talend.com/r/en-US/8.0/logs-and-errors/tstatcatcher

 

Then it is just a case of writing out to a file.