<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [resolved] Logging in tJava in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233504#M23154</link>
    <description>very possible.
&lt;BR /&gt;first you need to use a tLog4jInit to create your logger object. Look at the generated code to get the name of the object.
&lt;BR /&gt;once you have the object, you can send log messages to it directly in code by:
&lt;BR /&gt;&amp;lt;logger_name&amp;gt;.info("this is an info message");</description>
    <pubDate>Thu, 21 Apr 2011 18:31:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-04-21T18:31:25Z</dc:date>
    <item>
      <title>[resolved] Logging in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233500#M23150</link>
      <description>I have some logic written in tJava. how can I add logging(logger) in tJava component? with info,warning levels</description>
      <pubDate>Sat, 16 Nov 2024 12:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233500#M23150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Logging in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233501#M23151</link>
      <description>Hi ashu
&lt;BR /&gt;I think you can reference tLog4j component and its source code. 
&lt;BR /&gt;
&lt;A href="http://www.talendforge.org/exchange/tos/extension_view.php?eid=211" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/exchange/tos/extension_view.php?eid=211&lt;/A&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 21 Apr 2011 09:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233501#M23151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-21T09:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Logging in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233502#M23152</link>
      <description>Thanks Shong. 
&lt;BR /&gt;I downloaded the Revision 1.3 of tLog4J component and extracted the ZIP file. from my TDQ studio window-&amp;gt;preferences-&amp;gt;Talend-&amp;gt;Components. I added the unzipped folder as UserComponents, also in tLog4J_java.xml updated the Family, restarted the studio. but I don't see the new component added to the palette. is I'm missing any thing in installing this component??? 
&lt;BR /&gt;&amp;lt;FAMILIES&amp;gt; 
&lt;BR /&gt; &amp;lt;FAMILY&amp;gt;Logs_Errors&amp;lt;/FAMILY&amp;gt; 
&lt;BR /&gt; &amp;lt;FAMILY&amp;gt;Logs_Errors/Log4J&amp;lt;/FAMILY&amp;gt; 
&lt;BR /&gt;&amp;lt;/FAMILIES&amp;gt;</description>
      <pubDate>Thu, 21 Apr 2011 16:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233502#M23152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-21T16:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Logging in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233503#M23153</link>
      <description>after placing the log4j directory in \plugins\org.talend.designer.components.localprovider_&amp;lt;version&amp;gt;\components I can see the log4J component available in Palette. Thanks 
&lt;BR /&gt;I have 1400 lines of Java code written in tJava component 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; . how to add a logger in that code? is it possible?</description>
      <pubDate>Thu, 21 Apr 2011 17:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233503#M23153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-21T17:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Logging in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233504#M23154</link>
      <description>very possible.
&lt;BR /&gt;first you need to use a tLog4jInit to create your logger object. Look at the generated code to get the name of the object.
&lt;BR /&gt;once you have the object, you can send log messages to it directly in code by:
&lt;BR /&gt;&amp;lt;logger_name&amp;gt;.info("this is an info message");</description>
      <pubDate>Thu, 21 Apr 2011 18:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233504#M23154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-21T18:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Logging in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233505#M23155</link>
      <description>Thanks JohnGarrettMartin</description>
      <pubDate>Thu, 21 Apr 2011 20:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233505#M23155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-21T20:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Logging in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233506#M23156</link>
      <description>Hello,&amp;nbsp;&lt;BR /&gt;There are other solution. Add in your tJava :&lt;BR /&gt;&lt;PRE&gt;org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger(this.getClass());&lt;BR /&gt;logger.info("In your message !!!");&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Jan 2016 12:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Logging-in-tJava/m-p/2233506#M23156</guid>
      <dc:creator>cm2d</dc:creator>
      <dc:date>2016-01-08T12:38:10Z</dc:date>
    </item>
  </channel>
</rss>

