Four Stars

Logging, Exception handlng

I would like to do logging & exception handling in my jobs. Can you plz suggest which components can I use over here. Is there any way of making it generic for all the jobs? 

1 REPLY
Moderator

Re: Logging, Exception handlng

Hi,

Please take a look at talend Stats&Log feature.

Stats&log in project setting, which is working on the whole project (Parent job and child jobs, and output them on file/DB but no context setting).
Stats&log in job view is working on the current job (you should set Stat&log of job view in both parent job and child jobs and output them on file/DB with context setting).
Or you can choose to write the Exceptiontext into file or Database.

In addition, it can be also achieved by using tStatCatcher/tLogcatcher component(tStatCatcher/tLogcatcher-->further processing-->output)

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.