I was trying to implement logging in Talend. So I made a job using normal components, I have recorded the error, info and debug through Twarn and Tdie. Using Logcatcher , I am segregating the log into two files of debug and error. This part is working fine.
Now I have made two jobs,
First:- Using trowgenerator generating lines, then sending to tmap and from tmap, I am sending to two twarn components based on some condition.
Second:- A job which has tlogcatcher, t_filterrow and segregating to two files based on some condition.
So I am running the second job in parallel with the first job to capture the logs, but it is not working.
I have tried several options and stuck at this point.
Main idea is to have a common logging component which can be plugged to any job for the logs.
Is there any ways with which it can be achieved ?