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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Logging Functionality in job

Hi Team,

 

I want to log data in the file, for the below scenario. 

Generate ID -> log message -> Pull File -> log message -> Post file -> log message

 

could you please help me, how to implement

Generate ID , and log message.

Labels (3)
2 Replies
ankit7359
Creator II
Creator II

Hi @ashishiimt ,

You can use logging components like LogCatcher component or else in the output console set the logging levels to "Info". You can also refer to the Below Documentation page for their usage.

https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/exEndmX5MGHMto5BeyIMhg

Anonymous
Not applicable
Author

Hi Ankit,

I need to generate ID , below is the function, which will generate unique ID and this ID , i need to log it.

 

public static String createUUID() {
return (java.util.UUID.randomUUID()).toString();
}

 

Generate ID->Logmessage 

for this , which component , i need to use , like to say , tjava or tjavarow, and how we can pass value to log message, for the log message, which comppnent, , i need to use it. like to say tlogrow.

 

tlogcatcher, will pick all the information from the console , m requirement is to log , generated ID