Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to add time imormation to tLogRow

Hi , I'm looking for how to add time imormation to tLogRow as prefix.

Labels (2)
10 Replies
Anonymous
Not applicable
Author

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 🙂

Anonymous
Not applicable
Author

I would like to do both cases.
How can you do the former one ?
Anonymous
Not applicable
Author

I wrote many tLogRows , so i appreciate if the way is easy.

Anonymous
Not applicable
Author

Hi,

 

  Please add your current columns to a tMap. In the output section, add an additional column to catch log time.

0683p000009M2gq.png

 

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 🙂

Anonymous
Not applicable
Author

Thanks .

I wrote many tLogrows.

Do I have to add tmap before tLogrows?  If there is any easier solution, i appreciate it.

Anonymous
Not applicable
Author

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 🙂

akumar2301
Specialist II
Specialist II

If you are using subscription version , in tLogRow , Print content with log4j

 

https://help.talend.com/reader/hCrOzogIwKfuR3mPf~LydA/qO19rPZd1rKnp_vfnV6s~w

Anonymous
Not applicable
Author

Im using open stuio , not subscription version.
Anonymous
Not applicable
Author

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.