You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2017-04-04 13:31:52

brequardt
Member
25 posts

brequardt said:

logging inside a talend component

Hello,

I create different TalendESB components. What is the standard logging? Dont want to use System.out.println().

Greets

Benjamin

Offline

#2 2017-04-04 20:17:07

jlolling
Member
3186 posts

jlolling said:

Re: logging inside a talend component

The jobs have a member variable log and you can use it. Please take care in your components you do not ship Log4J (if you depends on it set this library as provided) because the Karaf runtime ships with a patched log4j lib and you would overwrite these patched classes and destroy this way any logging.


Talend Certified working for cimt objects AG in Berlin

Offline

#3 2017-04-06 14:46:18

brequardt
Member
25 posts

brequardt said:

Re: logging inside a talend component

how can I use it? Compiler say log is not definied. I have see that other component use logger in this way:

<%if(isLog4jEnabled){%>

log.info("<%=cid%> - ....");

How can I activate log4jEnabled?

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy