How to emailing the TAC log file that was generated when running a job

One Star

How to emailing the TAC log file that was generated when running a job

When running a job through the job conductor, a log file is generated for each execution of the task. Is it possible to email this file to someone after the job completes? If so, how can this be accomplished? I don't know how to figure out the name of the file, so I don't know how to reference it.
One Star

Re: How to emailing the TAC log file that was generated when running a job

Hi
You can find jobexecution logs at Talend-JobServer\TalendJobServersFile\jobexecutions\logs directory.
I think tFileList will help you iterate these files.
Regards,
Pedro
One Star

Re: How to emailing the TAC log file that was generated when running a job

Pedro,
Is it possible to know which files are for which job? The files have cryptic names that don't mean much (like task_32). I don't know how I can figure out which file to use.
Thanks.
One Star

Re: How to emailing the TAC log file that was generated when running a job

Hi
You can add a tJava component in Job.
System.out.println(jobName);

Then write a bat or shell script to extract the Job name from logs.
Regards,
Pedro
One Star

Re: How to emailing the TAC log file that was generated when running a job

Hi,  anyone found the solution to this ?

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

Downloads and Trials

Test drive Talend's enterprise products.

Downloads