Hi, I'm looking for an easy way to switch on and off tLogRow : how to change tLogRow enable or disable easily .
I'm using talend open stdio for data integration.
@coffeeno ,Deactivate tLogrow or Activate if it is Deactivated.
sorry for little explanation. i know how to manually activate or deactivate components.
i would like to change many tLogRows activate or deactivate status.
You cannot deactivate/activate Component at runtime but You could redirect tLogRow Output to File instead of Console dynamically. Below Link will help ,
You could set the steam based on context condition.
If you are comfortable using a bit of Java you could write your own method for doing this. In the past the I have created context variables for the purpose of switching on debugging code in jobs running in Production. So if something was showing weird behaviour, I was able to set a context variable called "Debug" to true. Then, in different parts of the job I had certain mechanisms triggered by this context variable. Nothing would change the data that was produced, but it would reroute information or output more information to logs.
Using this in your job you could add tJavaFlex components which are configured to output column information (using System.out calls) IF your "Debug" variable is switched to true. Otherwise, the data is just passed straight through your tJavaFlex.
That is just one example. It might not suit your precise requirement, but hopefully it will give you some ideas.
No, the RunIf is just a trigger. It doesn't carry datarows. Your requirement is one which is not supported out of the box, but is entirely possible using the method I suggested.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema