<?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: Logging successful job completion in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Logging-successful-job-completion/m-p/2330641#M99701</link>
    <description>I think your file name is like  : "MyStatFile_"+TalendDate.getDate("CCYY-MM-DD hh:mm:ss")+".txt"&lt;BR /&gt;So you should create a routine to save the same date for job run&lt;BR /&gt;1) goto Exchange web page and download the tools routine&lt;BR /&gt;2) import tools in your project, tools contains the staticString function.&lt;BR /&gt;3) set your stats file name as  "Stats_"+tools.staticString("stat",TalendDate.getDate("CCYYMMDD_ hhmmss"),false) +".txt"&lt;BR /&gt;    Now you have the same file name at the begening and at the end of job run</description>
    <pubDate>Thu, 01 Oct 2009 10:45:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-10-01T10:45:02Z</dc:date>
    <item>
      <title>Logging successful job completion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-successful-job-completion/m-p/2330638#M99698</link>
      <description>I would like to be a ble to provide a full audit trail of all Talend jobs that are run. I can produce log files for jobs that fail with no problem but how do I output a log for successful completion i.e. the blue messages that appear in the run job window of Job Designer?&lt;BR /&gt;Starting job XXX_Run at 11:54 29/09/2009.&lt;BR /&gt;Job XXX_Run ended at 11:54 29/09/2009.</description>
      <pubDate>Sat, 16 Nov 2024 13:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-successful-job-completion/m-p/2330638#M99698</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2024-11-16T13:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Logging successful job completion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-successful-job-completion/m-p/2330639#M99699</link>
      <description>Hello,&lt;BR /&gt;      &lt;BR /&gt;    You can use the tStatCatcher , it's one of the 3 catchers provided by Talend ( stat, log, flow )&lt;BR /&gt;    &lt;BR /&gt;    tStatCatcher send 2 rows, first one at the beging of the job, second at the end, with exec time and return code of the job</description>
      <pubDate>Wed, 30 Sep 2009 10:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-successful-job-completion/m-p/2330639#M99699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-30T10:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Logging successful job completion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-successful-job-completion/m-p/2330640#M99700</link>
      <description>Yes I tried checking the 'Use Statistics' box on the Job tab. This does produce the info but I have a job that runs every minute so I gave the stats file name the date and time as part of the file name. Because the job takes more than a second to run, I get 2 files produced - one with the start and another with the end - not much use.
&lt;BR /&gt;What I require is all the information produced when running a job in Design Studio - start, any errors and end with exit code - output to a single file with the date &amp;amp; time in the file name so that I can have a generic job that scans the logs and emails support for any log that contains an error - exit code not 0.</description>
      <pubDate>Wed, 30 Sep 2009 11:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-successful-job-completion/m-p/2330640#M99700</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2009-09-30T11:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Logging successful job completion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-successful-job-completion/m-p/2330641#M99701</link>
      <description>I think your file name is like  : "MyStatFile_"+TalendDate.getDate("CCYY-MM-DD hh:mm:ss")+".txt"&lt;BR /&gt;So you should create a routine to save the same date for job run&lt;BR /&gt;1) goto Exchange web page and download the tools routine&lt;BR /&gt;2) import tools in your project, tools contains the staticString function.&lt;BR /&gt;3) set your stats file name as  "Stats_"+tools.staticString("stat",TalendDate.getDate("CCYYMMDD_ hhmmss"),false) +".txt"&lt;BR /&gt;    Now you have the same file name at the begening and at the end of job run</description>
      <pubDate>Thu, 01 Oct 2009 10:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-successful-job-completion/m-p/2330641#M99701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-01T10:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Logging successful job completion</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-successful-job-completion/m-p/2330642#M99702</link>
      <description>Thanks emenuet, that's sorted the start &amp;amp; end of job. Can I put the log data to the same file - Answer yes but I'm not sure how to use the information if I have more than 1 stream in a job. If one stream fails I'm not sure how to distinguish it from another stream.</description>
      <pubDate>Tue, 06 Oct 2009 10:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-successful-job-completion/m-p/2330642#M99702</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2009-10-06T10:01:18Z</dc:date>
    </item>
  </channel>
</rss>

