Create log file in Talend Open Studio

One Star

Create log file in Talend Open Studio

Hi,

 

I am very new to Talend. I have designed one job to get excel files from folder, read the file and insert the data into the Database table. If file is processed successfully then move the file into 'Archive' folder and if at any stage error occurs while processing the file then move that file into 'Error' folder.

Now, I am trying to track the errors. I want to create a 'log' file when I finished my job. so that I can track the error. Also, I want to print date and filename in the log.

I will really appreciate if anyone can help me on that.

Below are the screen shots of my job.

(Note: I am using Talend open studio for Data Integration: 7.0.1)

 

- Poonam

Fifteen Stars TRF
Fifteen Stars

Re: Create log file in Talend Open Studio

Have a look to tLogCatcher & tWarn to construct your logfile.
You should also consider to connect your tMSSQLOutput to your logfile using the reject connector if you want details regarding which records failed and the reason why.

TRF
Seven Stars

Re: Create log file in Talend Open Studio

hi poonam,

i hope @TRF  answered the question tlogCatcher and tStatCatcher components can catch both the logs and statistics of a talend job and store them in to a preferred lfs location. If your requirement was to save the console logs also, then  check this link 

https://community.talend.com/t5/Design-and-Development/How-to-redirect-all-output-of-my-console-to-a...

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

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