Five Stars

log to file

Hi Team,

could you please help in following,

 

How to write all the log created after execution of a talend job into a file??

 

Thanks,

Abhi529

  • Data Integration
5 REPLIES
Five Stars

Re: log to file

Hi,

 

You can use tStatCatcher component to catch all the execution log details and then save these logs to a file using tFileOutputDelimited component.

 

Thanks,

Abhishek

Six Stars

Re: log to file

Hi,

 

tLog4j component should be used along with tInitLog4j  to log in txt files.

 

Its free and can be downloaded from https://exchange.talend.com/

 

Thanks,

Moderator

Re: log to file

Hello,

What's kind of execution log do you want to log to file?

It is very convenient to set the log in job view to output the record into a file or table.

 

Statistics table records details like begin Time, End Time which is generated by any job.

 

Logs table records the messages from Java Exception, tDie and/or tWarn (prerequisite: there must be an error in your job).

 

Flow Meter table records the number of rows processed in the defined flow(prerequisite: you have to use tFlowMeter in your job).

Let us know if it is Ok with you.

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.
Five Stars

Re: log to file

could you please give me the screenshot of the job ..
Moderator

Re: log to file

Hello,

Could you please take a look at my screenshot to see if it is what you are looking for?

1.png

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.