tRunJob not logging correct context name via tLogCatcher

Highlighted
Seven Stars

tRunJob not logging correct context name via tLogCatcher

Hi,

 

I know that when you use a tRunJob you can tick the Transmit whole context check box to transmit the context variables selected in the parent job. However, if you use a tLogCatcher in that subjob then it prints out the value selected on the component dropdown. This can be confusing when looking at logs as it leads you to believe a subjob is using the incorrect context variables. Is there any way to overwrite this?

Twelve Stars

Re: tRunJob not logging correct context name via tLogCatcher

the best way is to not use log catcher on subjobs and jobs.
use TAC (Talend Administration Center) to schedule your jobs and to manage faillure.
configure logs in a global db then parse it to warn about error that is the best way

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Seven Stars

Re: tRunJob not logging correct context name via tLogCatcher

I don't think this is the best solution for us. If we did that we would need to give the test team access to the ESB and Jobservers to view the debug data in the logs which would also contain Talend info which is of no use to them. The current method we are using is to send the info from tLogCatcher to a dedicated log file in a shared network directory per application.

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 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog