One Star

How to get a log when running Talend job in batch

Hello,
I have built a talend job and deployed it on a linux machine.
a .sh script has been generated for me: dmtrzz_collecte_vsp_run.sh
When i run the script, the job does what's supposed to do.
But I have no log file, how to generate a log file for the job execution?
I added  > ./log_talend.log at the end of the command line, but the file log_talend.log is empty after running the job.
Thanks in advance.
Sidi
4 REPLIES
Fifteen Stars

Re: How to get a log when running Talend job in batch

This should work. I did the same in a test I carried out this morning and it worked perfectly. I did do it on Windows and not Linux/Unix but that shouldn't make any difference here.
Rilhia Solutions
One Star

Re: How to get a log when running Talend job in batch

For me it doesn't work, the log file is always empty.
Is there a log level to specify in order to get someting in the log file?
Moderator

Re: How to get a log when running Talend job in batch

Hi hammamr,

Have you tried to set Stats&Logs in job view to send your log to a specify file or database table?

Best regards
Sabrina


--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: How to get a log when running Talend job in batch

Hello,
I tried but it doesn't work, any idea ?