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

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!

Is there a way to use the log4j Talend instance to log in the Jobs?

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

Is there a way to use the log4j Talend instance to log in the Jobs?

Last Update:

Feb 9, 2024 2:06:24 PM

Updated By:

Jamie_Gregory

Created date:

Apr 1, 2021 6:23:25 AM

Question

Which log4j logger instance should be used to log inside a Job?

 

Answer

The tJava component allows you to use the existing log instance of the Job, for example:

 

log.debug("DEBUG: Hello World");
log.info("INFO: Hello World");
log.warn("WARN: Hello World");
log.error("ERROR: Hello World");
Version history
Last update:
‎2024-02-09 02:06 PM
Updated by: