How to get a log when running Talend job in batch

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
Community Manager

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.
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 ?

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download