Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi , I'm looking for how to add time imormation to tLogRow as prefix.
Hi,
Could you please elaborate your use case further?
If you want to print the time of printing each row, you can add an additional column and add system time by using TalendDate.getCurrentDate() function to that column.
If you just want to print the system time before running tLogrow, you can use a tjava and print time using System.out function in java.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
I wrote many tLogRows , so i appreciate if the way is easy.
Hi,
Please add your current columns to a tMap. In the output section, add an additional column to catch log time.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Thanks .
I wrote many tLogrows.
Do I have to add tmap before tLogrows? If there is any easier solution, i appreciate it.
Hi,
You are right. tMap is a commonly used component.
So if you have to add this additional column, this is the easiest method.
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
If you are using subscription version , in tLogRow , Print content with log4j
https://help.talend.com/reader/hCrOzogIwKfuR3mPf~LydA/qO19rPZd1rKnp_vfnV6s~w
Can I make tmap and tLogRow set as one module like subJob and use it , which has variety of inputs?
If you can, please teach me how to do this.