Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
0683p000009MAz7.png
Labels (2)
10 Replies
Anonymous
Not applicable
Author

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.
Anonymous
Not applicable
Author

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?
Anonymous
Not applicable
Author

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


0683p000009MAUe.png
Anonymous
Not applicable
Author

Hello,
I tried but it doesn't work, any idea ?
Anonymous
Not applicable
Author

Hi, did you ever find a solution? I'm running into the same problem.

Roland

Anonymous
Not applicable
Author

Hi, did you ever find a solution? I'm running into the same problem.

Roland

David_Beaty
Specialist
Specialist

Hi,

I think logs file only captures the output of tWarn, tDie, tJobFailure and java exceptions (as per the tLogCatcher component).

 

Are you sure you are triggereing any of these ecents to put entries in the logs file?

 

David_Beaty
Specialist
Specialist

Hi,

I think logs file only captures the output of tWarn, tDie, tJobFailure and java exceptions (as per the tLogCatcher component).

 

Are you sure you are triggereing any of these ecents to put entries in the logs file?

 

Anonymous
Not applicable
Author

No, because the job runs fine. I do now notice that with an error, it does output some errors in the talend log. Thanks