<?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: tStatCatcher, tLogCatcher, and tMSSqlClose in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tStatCatcher-tLogCatcher-and-tMSSqlClose/m-p/2375283#M137728</link>
    <description>&lt;P&gt;We've done something very similar, but rather than writing to a database, we write to a Kafka topic. We then have a consumer that reads from the Kafka topic and pushes the log messages to the ELK stack that comes with the TAC, but you could easily write a consumer that writes them to the database of your choice.&amp;nbsp; Better still, once you have the log messages on the Kafka topic, you could write them to both an ELK setup and database at the same time.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Aug 2018 00:25:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-02T00:25:34Z</dc:date>
    <item>
      <title>tStatCatcher, tLogCatcher, and tMSSqlClose</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tStatCatcher-tLogCatcher-and-tMSSqlClose/m-p/2375281#M137726</link>
      <description>&lt;P&gt;It appears that the tStatCatcher and tLogCatcher are actually run only at the end of a job -- which sort of makes sense given what they collect.&amp;nbsp; Can&amp;nbsp;anyone&amp;nbsp;confirm?&amp;nbsp; The problem this appears to create is, when using tMSSqlClose component to&amp;nbsp;end the connection at post-job, it is getting fired before one or the other of the tStat or tLog are completed.&lt;/P&gt; 
&lt;P&gt;I would have expected that everything was completed before the tPostJob is fired.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Job design" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz10.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136147i5EBE45BECB0D1DF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz10.png" alt="0683p000009Lz10.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Job design&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error because connection was closed before tStatCatcher was able to write to DB" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz0I.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149380i08609C663493215E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz0I.png" alt="0683p000009Lz0I.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Error because connection was closed before tStatCatcher was able to write to DB&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;If I remove the tMSSqlClose, it runs without errors -- but then the connection is not closed, right?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="No error when tMSSqlClose removed" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyy7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151848i7D479EE030CC7F89/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyy7.png" alt="0683p000009Lyy7.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;No error when tMSSqlClose removed&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 20:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tStatCatcher-tLogCatcher-and-tMSSqlClose/m-p/2375281#M137726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T20:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: tStatCatcher, tLogCatcher, and tMSSqlClose</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tStatCatcher-tLogCatcher-and-tMSSqlClose/m-p/2375282#M137727</link>
      <description>Confirmed! And annoying I know. 
&lt;BR /&gt;If your crash is severe (a dirty exit) , everything is gone. 
&lt;BR /&gt;Try using log4j (in community version not supported but possible, in payed it is) and have a process which actually monitors the tail of the log-file (outside this talend job). 
&lt;BR /&gt; 
&lt;BR /&gt;One thing some components just write the error to console/stdout which will never end up in your tlogcatcher 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; ... Logging and provenance is horrible in Talend.</description>
      <pubDate>Wed, 01 Aug 2018 23:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tStatCatcher-tLogCatcher-and-tMSSqlClose/m-p/2375282#M137727</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-08-01T23:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: tStatCatcher, tLogCatcher, and tMSSqlClose</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tStatCatcher-tLogCatcher-and-tMSSqlClose/m-p/2375283#M137728</link>
      <description>&lt;P&gt;We've done something very similar, but rather than writing to a database, we write to a Kafka topic. We then have a consumer that reads from the Kafka topic and pushes the log messages to the ELK stack that comes with the TAC, but you could easily write a consumer that writes them to the database of your choice.&amp;nbsp; Better still, once you have the log messages on the Kafka topic, you could write them to both an ELK setup and database at the same time.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 00:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tStatCatcher-tLogCatcher-and-tMSSqlClose/m-p/2375283#M137728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-02T00:25:34Z</dc:date>
    </item>
  </channel>
</rss>

