Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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

Labels (2)
2 Replies
TRF
Champion II
Champion II

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.
KarthikGs
Creator
Creator

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