<?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: Talend Studio Execution Log? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366849#M130288</link>
    <description>&lt;P&gt;I assume you are talking about my solution. I'm afraid&amp;nbsp;I've not tried that (yet), but just Googled and found this.... &amp;nbsp;&lt;A href="https://stackoverflow.com/questions/16237546/writing-to-console-and-text-file" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/16237546/writing-to-console-and-text-file&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If it works, I'd be interested in hearing about it. Doesn't sound too difficult to test, but I am away from a machine with Talend on at the moment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2017 21:23:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-03T21:23:21Z</dc:date>
    <item>
      <title>Talend Studio Execution Log?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366845#M130284</link>
      <description>&lt;P&gt;Hey sorry if that's super obvious but been looking around to find (or set up within a job) a way of putting what's printed in the console at runtime of a job?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need this as planning to automatically run a job via Task Scheduler and want to have a way of finding out how it's run in case anything is wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 10:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366845#M130284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-03T10:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio Execution Log?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366846#M130285</link>
      <description>&lt;P&gt;If you are using the Enterprise Edition, the logs are kept for you and are viewable in the Talend Administration Center. If you are using the Open Source Edition, there is a little trick which will let you re-route the logs to a file of your choosing. Take a look here:&amp;nbsp;&lt;A href="https://www.rilhia.com/quicktips/quick-tip-redirect-output-console-file" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/quicktips/quick-tip-redirect-output-console-file&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 11:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366846#M130285</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-03T11:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio Execution Log?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366847#M130286</link>
      <description>In addition to the above, you can use your operating system's output redirection when calling the batch file or shell script that executes your job.
&lt;BR /&gt;
&lt;BR /&gt;(e.g. C:\Path\YourJob.bat &amp;gt; Yourjob.log)</description>
      <pubDate>Thu, 03 Aug 2017 14:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366847#M130286</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-08-03T14:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio Execution Log?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366848#M130287</link>
      <description>&lt;P&gt;Hey that's brilliant - thanks!&lt;/P&gt;
&lt;P&gt;Just wondering if there's also a way to keep the log stream in app as well instead of re-routing it?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 18:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366848#M130287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-03T18:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio Execution Log?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366849#M130288</link>
      <description>&lt;P&gt;I assume you are talking about my solution. I'm afraid&amp;nbsp;I've not tried that (yet), but just Googled and found this.... &amp;nbsp;&lt;A href="https://stackoverflow.com/questions/16237546/writing-to-console-and-text-file" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/16237546/writing-to-console-and-text-file&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If it works, I'd be interested in hearing about it. Doesn't sound too difficult to test, but I am away from a machine with Talend on at the moment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 21:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366849#M130288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-03T21:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio Execution Log?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366850#M130289</link>
      <description>Cheers, I'll play around with this tomorrow and share if I get it to work.
&lt;BR /&gt;I'm also planning on creating a new log file with today's date so it's easier to document the executions.</description>
      <pubDate>Thu, 03 Aug 2017 21:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366850#M130289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-03T21:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio Execution Log?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366851#M130290</link>
      <description>&lt;P&gt;Hey Richard - just an update if you (or anyone else) is interested.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I managed to get this to work but there were some problems around loading the correct library for this.&lt;/P&gt; 
&lt;P&gt;First of all my final code is:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;java.io.File outputFile = new java.io.File("/Users/george/Documents/testarchive/Log/output"+TalendDate.getDate("yyyyMMdd HHmmss")+".txt");
java.io.FileOutputStream fos = new java.io.FileOutputStream(outputFile);
    //we will want to print in standard "System.out" and in "file"
org.apache.commons.io.output.TeeOutputStream myOut=new org.apache.commons.io.output.TeeOutputStream(System.out, fos);
java.io.PrintStream ps = new java.io.PrintStream(myOut, true); //true - auto-flush after println
System.setOut(ps);&lt;/PRE&gt; 
&lt;P&gt;Since the TeeOutputStream function is in the&amp;nbsp;org.apache.commons.io.output library I couldn't get it to work initially.&lt;/P&gt; 
&lt;P&gt;I couldn't install the library with a jar for some reason (even when selecting it it never appeared in my list of modules).&lt;/P&gt; 
&lt;P&gt;Instead I added a tLibraryLoad (pointing to the&amp;nbsp;&lt;SPAN&gt;org.apache.commons.io.output)&amp;nbsp;&lt;/SPAN&gt;to run, triggering the tJava&lt;SPAN&gt;&amp;nbsp;and et voila!&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Feel free to update your tip article if you want to and thanks for all your help again!&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 11:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366851#M130290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-04T11:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio Execution Log?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366852#M130291</link>
      <description>&lt;P&gt;Awesome job! I shall remember this. I may add an update to my tutorial referencing your help, if you don't mind&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 12:03:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366852#M130291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-04T12:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio Execution Log?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366853#M130292</link>
      <description>&lt;P&gt;I just made one final change so I get the error messages logged in the file as well (last line):&lt;/P&gt;
&lt;PRE&gt;java.io.File outputFile = new java.io.File("/Users/george/Documents/testarchive/Log/output"+TalendDate.getDate("yyyyMMdd HHmmss")+".txt");
java.io.FileOutputStream fos = new java.io.FileOutputStream(outputFile);
    //we will want to print in standard "System.out" and in "file"
org.apache.commons.io.output.TeeOutputStream myOut=new org.apache.commons.io.output.TeeOutputStream(System.out, fos);
java.io.PrintStream ps = new java.io.PrintStream(myOut, true); //true - auto-flush after println
System.setOut(ps);
System.setErr(ps);&lt;/PRE&gt;
&lt;P&gt;Note this removes the automatic colourification of errors in the console - everything is printed in black instead.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 12:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366853#M130292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-04T12:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio Execution Log?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366854#M130293</link>
      <description>&lt;P&gt;Nice work&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMA8AAO"&gt;@gslokoski&lt;/A&gt;. I've added your code to my tutorial. I have credited you using your screen name here. Let me know if you would like me to credit you in some other way or if you want it removed.&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://www.rilhia.com/quicktips/quick-tip-redirect-output-console-file" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/quicktips/quick-tip-redirect-output-console-file&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 19:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366854#M130293</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-06T19:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio Execution Log?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366855#M130294</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Is there any way to find out the number of task created ,scheduling status,execution status (failed/successful) from Talend Administration Center log files.The requirement is to read those files every day to have a day to day&amp;nbsp; basis status report.User may want to find out those status by searching with the dates.Can you help?Thanks in advance&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Nice work&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMA8AAO"&gt;@gslokoski&lt;/A&gt;. I've added your code to my tutorial. I have credited you using your screen name here. Let me know if you would like me to credit you in some other way or if you want it removed.&lt;/P&gt; 
 &lt;P&gt;&lt;A href="https://www.rilhia.com/quicktips/quick-tip-redirect-output-console-file" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/quicktips/quick-tip-redirect-output-console-file&lt;/A&gt;&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 12:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Execution-Log/m-p/2366855#M130294</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T12:09:48Z</dc:date>
    </item>
  </channel>
</rss>

