Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
How to generate a separate log file for each running job in linux
Thank you
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?
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
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.