Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I using Talend 7.1 DI and trying to capture log details using log4j (log4j1.2). To do same, I have configured DailyFileAppender and set a file name param with value=$LOGFILE.
This param is passed from build ->sh "java -DLOGFILE=/tmp/abc.txt" and resolve to a path on execution server. All log4j logs are able to capture for Master/parent job into this log file.
However, log details of child job c1 & c2 called from this master using tRunJob is not at all getting captured. Tried log4j in debug mode - it is not able to resolve $LOGFILE from log4j.xml for child jobs..
Hello,
Did you configure log4j in Project setting? It will apply for the whole project.
If you want to catch the error message from the child job, you should put log4j component /tLogCatcher in both father job and child job.
Best