<?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: Command Line messages and logging in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Command-Line-messages-and-logging/m-p/2372013#M134892</link>
    <description>Justin, 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;nbsp;To achieve this you following steps need to be followed. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;: Create the job in talend studio. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp;: Activate log4j feature in the studio.Add below xml content in log4j xml place holder. 
&lt;BR /&gt;&amp;nbsp;&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt; 
&lt;BR /&gt;&amp;lt;!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;lt;log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;lt;appender name="console" class="org.apache.log4j.ConsoleAppender"&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;param name="Target" value="System.out"/&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;layout class="org.apache.log4j.PatternLayout"&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param name="ConversionPattern" value="%-5p %c{1} - %m%n"/&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/layout&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;lt;/appender&amp;gt;&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;nbsp; &amp;lt;root&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;priority value ="debug" /&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;appender-ref ref="console" /&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;lt;/root&amp;gt; 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;&amp;lt;/log4j:configuration&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 3 : &amp;nbsp;Build the job from studio. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 4 : &amp;nbsp;Extract the zip file created after build the job. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 5 : &amp;nbsp;edit the batch generated after extraction. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 6 : &amp;nbsp;add "pause" command in at the end of the batch. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 7 : &amp;nbsp;execute the batch. It will display all job statistic in the console. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MHOX.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144502i41A93F0334233EE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MHOX.jpg" alt="0683p000009MHOX.jpg" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MHLy.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128941i039675B81891BE47/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MHLy.jpg" alt="0683p000009MHLy.jpg" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;I guess, it will help you to resolve the problem.</description>
    <pubDate>Wed, 18 May 2016 06:13:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-18T06:13:23Z</dc:date>
    <item>
      <title>Command Line messages and logging</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Command-Line-messages-and-logging/m-p/2372012#M134891</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;I built a job in Talend Open Studio for Big Data and plan to make it available for non-Talend users to run the program via building the job and housing it in a shared drive.&amp;nbsp;&lt;BR /&gt;What I'm trying to do is along the steps, allow messages that will appear in the command prompt (and ultimately log) that shows the status. Like "Connecting to....", "Found file...{name}", etc etc. What is the best way to accomplish this? Any guidance would be greatly appreciated, I've searched all over the place and haven't really found answers.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Command-Line-messages-and-logging/m-p/2372012#M134891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Command Line messages and logging</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Command-Line-messages-and-logging/m-p/2372013#M134892</link>
      <description>Justin, 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;nbsp;To achieve this you following steps need to be followed. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;: Create the job in talend studio. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp;: Activate log4j feature in the studio.Add below xml content in log4j xml place holder. 
&lt;BR /&gt;&amp;nbsp;&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt; 
&lt;BR /&gt;&amp;lt;!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;lt;log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;lt;appender name="console" class="org.apache.log4j.ConsoleAppender"&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;param name="Target" value="System.out"/&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;layout class="org.apache.log4j.PatternLayout"&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param name="ConversionPattern" value="%-5p %c{1} - %m%n"/&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/layout&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;lt;/appender&amp;gt;&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;nbsp; &amp;lt;root&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;priority value ="debug" /&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;appender-ref ref="console" /&amp;gt;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;lt;/root&amp;gt; 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;&amp;lt;/log4j:configuration&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 3 : &amp;nbsp;Build the job from studio. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 4 : &amp;nbsp;Extract the zip file created after build the job. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 5 : &amp;nbsp;edit the batch generated after extraction. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 6 : &amp;nbsp;add "pause" command in at the end of the batch. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 7 : &amp;nbsp;execute the batch. It will display all job statistic in the console. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MHOX.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144502i41A93F0334233EE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MHOX.jpg" alt="0683p000009MHOX.jpg" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MHLy.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128941i039675B81891BE47/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MHLy.jpg" alt="0683p000009MHLy.jpg" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;I guess, it will help you to resolve the problem.</description>
      <pubDate>Wed, 18 May 2016 06:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Command-Line-messages-and-logging/m-p/2372013#M134892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-18T06:13:23Z</dc:date>
    </item>
  </channel>
</rss>

