<?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 tLogCatcher and tSendMail in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tLogCatcher-and-tSendMail/m-p/2370584#M133611</link>
    <description>Hi, 
&lt;BR /&gt;When there is an error, I wish to send a mail with informations from the tLogCatcher. 
&lt;BR /&gt;But data are null 
&lt;BR /&gt; 
&lt;PRE&gt;date : nullpid : nullroot pid : nullfather pid : nullproject : nulljob : nullcontext : nullpriority : nulltype : nullorigin : nullmessage : nullcode : null&lt;/PRE&gt; 
&lt;BR /&gt;In fact my source, row1, is initialized after the mail. The tLogRow works well. 
&lt;BR /&gt;The code generated 
&lt;BR /&gt; 
&lt;PRE&gt;String message_tSendMail_1 = "Unne erreur s'est produite lors de l'alimentation de l'entrepôt de données"&lt;BR /&gt;					+ "date : "&lt;BR /&gt;					+ row1.moment&lt;BR /&gt;					+ "pid : "&lt;BR /&gt;					+ row1.pid&lt;BR /&gt;					+ "root pid : "&lt;BR /&gt;					+ row1.root_pid&lt;BR /&gt;					+ "father pid : "&lt;BR /&gt;					+ row1.father_pid&lt;BR /&gt;					+ "project : "&lt;BR /&gt;					+ row1.project&lt;BR /&gt;					+ "job : "&lt;BR /&gt;					+ row1.job&lt;BR /&gt;					+ "context : "&lt;BR /&gt;					+ row1.context&lt;BR /&gt;					+ "priority : "&lt;BR /&gt;					+ row1.priority&lt;BR /&gt;					+ "type : "&lt;BR /&gt;					+ row1.type&lt;BR /&gt;					+ "origin : "&lt;BR /&gt;					+ row1.origin&lt;BR /&gt;					+ "message : "&lt;BR /&gt;					+ row1.message&lt;BR /&gt;					+ "code : "&lt;BR /&gt;					+ row1.code;&lt;BR /&gt;			java.util.List&amp;lt;java.util.Map&amp;lt;String, String&amp;gt;&amp;gt; headers_tSendMail_1 = new java.util.ArrayList&amp;lt;java.util.Map&amp;lt;String, String&amp;gt;&amp;gt;();&lt;BR /&gt;			java.util.List&amp;lt;String&amp;gt; attachments_tSendMail_1 = new java.util.ArrayList&amp;lt;String&amp;gt;();&lt;BR /&gt;			/**&lt;BR /&gt;			 *  stop&lt;BR /&gt;			 */&lt;BR /&gt;			/**&lt;BR /&gt;			 *  start&lt;BR /&gt;			 */&lt;BR /&gt;			ok_Hash.put("tLogRow_1", false);&lt;BR /&gt;			start_Hash.put("tLogRow_1", java.util.Calendar.getInstance()&lt;BR /&gt;					.getTimeInMillis());&lt;BR /&gt;			currentComponent = "tLogRow_1";&lt;BR /&gt;			// /////////////////////&lt;BR /&gt;			final String OUTPUT_FIELD_SEPARATOR_tLogRow_1 = "|";&lt;BR /&gt;			java.io.PrintStream consoleOut_tLogRow_1 = null;&lt;BR /&gt;			int nb_line_tLogRow_1 = 0;&lt;BR /&gt;			// /////////////////////&lt;BR /&gt;			/**&lt;BR /&gt;			 *  stop&lt;BR /&gt;			 */&lt;BR /&gt;			/**&lt;BR /&gt;			 *  start&lt;BR /&gt;			 */&lt;BR /&gt;			ok_Hash.put("tLogCatcher_1", false);&lt;BR /&gt;			start_Hash.put("tLogCatcher_1", java.util.Calendar.getInstance()&lt;BR /&gt;					.getTimeInMillis());&lt;BR /&gt;			currentComponent = "tLogCatcher_1";&lt;BR /&gt;			for (LogCatcherUtils.LogCatcherMessage lcm : tLogCatcher_1&lt;BR /&gt;					.getMessages()) {&lt;BR /&gt;				row1.type = lcm.getType();&lt;BR /&gt;				row1.origin = (lcm.getOrigin() == null&lt;BR /&gt;						|| lcm.getOrigin().length() &amp;lt; 1 ? null : lcm&lt;BR /&gt;						.getOrigin());&lt;BR /&gt;				row1.priority = lcm.getPriority();&lt;BR /&gt;				row1.message = lcm.getMessage();&lt;BR /&gt;				row1.code = lcm.getCode();&lt;BR /&gt;				row1.moment = java.util.Calendar.getInstance().getTime();&lt;BR /&gt;				row1.pid = pid;&lt;BR /&gt;				row1.root_pid = rootPid;&lt;BR /&gt;				row1.father_pid = fatherPid;&lt;BR /&gt;				row1.project = projectName;&lt;BR /&gt;				row1.job = jobName;&lt;BR /&gt;				row1.context = contextStr;&lt;/PRE&gt;</description>
    <pubDate>Sat, 16 Nov 2024 14:34:20 GMT</pubDate>
    <dc:creator>bdurand</dc:creator>
    <dc:date>2024-11-16T14:34:20Z</dc:date>
    <item>
      <title>tLogCatcher and tSendMail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tLogCatcher-and-tSendMail/m-p/2370584#M133611</link>
      <description>Hi, 
&lt;BR /&gt;When there is an error, I wish to send a mail with informations from the tLogCatcher. 
&lt;BR /&gt;But data are null 
&lt;BR /&gt; 
&lt;PRE&gt;date : nullpid : nullroot pid : nullfather pid : nullproject : nulljob : nullcontext : nullpriority : nulltype : nullorigin : nullmessage : nullcode : null&lt;/PRE&gt; 
&lt;BR /&gt;In fact my source, row1, is initialized after the mail. The tLogRow works well. 
&lt;BR /&gt;The code generated 
&lt;BR /&gt; 
&lt;PRE&gt;String message_tSendMail_1 = "Unne erreur s'est produite lors de l'alimentation de l'entrepôt de données"&lt;BR /&gt;					+ "date : "&lt;BR /&gt;					+ row1.moment&lt;BR /&gt;					+ "pid : "&lt;BR /&gt;					+ row1.pid&lt;BR /&gt;					+ "root pid : "&lt;BR /&gt;					+ row1.root_pid&lt;BR /&gt;					+ "father pid : "&lt;BR /&gt;					+ row1.father_pid&lt;BR /&gt;					+ "project : "&lt;BR /&gt;					+ row1.project&lt;BR /&gt;					+ "job : "&lt;BR /&gt;					+ row1.job&lt;BR /&gt;					+ "context : "&lt;BR /&gt;					+ row1.context&lt;BR /&gt;					+ "priority : "&lt;BR /&gt;					+ row1.priority&lt;BR /&gt;					+ "type : "&lt;BR /&gt;					+ row1.type&lt;BR /&gt;					+ "origin : "&lt;BR /&gt;					+ row1.origin&lt;BR /&gt;					+ "message : "&lt;BR /&gt;					+ row1.message&lt;BR /&gt;					+ "code : "&lt;BR /&gt;					+ row1.code;&lt;BR /&gt;			java.util.List&amp;lt;java.util.Map&amp;lt;String, String&amp;gt;&amp;gt; headers_tSendMail_1 = new java.util.ArrayList&amp;lt;java.util.Map&amp;lt;String, String&amp;gt;&amp;gt;();&lt;BR /&gt;			java.util.List&amp;lt;String&amp;gt; attachments_tSendMail_1 = new java.util.ArrayList&amp;lt;String&amp;gt;();&lt;BR /&gt;			/**&lt;BR /&gt;			 *  stop&lt;BR /&gt;			 */&lt;BR /&gt;			/**&lt;BR /&gt;			 *  start&lt;BR /&gt;			 */&lt;BR /&gt;			ok_Hash.put("tLogRow_1", false);&lt;BR /&gt;			start_Hash.put("tLogRow_1", java.util.Calendar.getInstance()&lt;BR /&gt;					.getTimeInMillis());&lt;BR /&gt;			currentComponent = "tLogRow_1";&lt;BR /&gt;			// /////////////////////&lt;BR /&gt;			final String OUTPUT_FIELD_SEPARATOR_tLogRow_1 = "|";&lt;BR /&gt;			java.io.PrintStream consoleOut_tLogRow_1 = null;&lt;BR /&gt;			int nb_line_tLogRow_1 = 0;&lt;BR /&gt;			// /////////////////////&lt;BR /&gt;			/**&lt;BR /&gt;			 *  stop&lt;BR /&gt;			 */&lt;BR /&gt;			/**&lt;BR /&gt;			 *  start&lt;BR /&gt;			 */&lt;BR /&gt;			ok_Hash.put("tLogCatcher_1", false);&lt;BR /&gt;			start_Hash.put("tLogCatcher_1", java.util.Calendar.getInstance()&lt;BR /&gt;					.getTimeInMillis());&lt;BR /&gt;			currentComponent = "tLogCatcher_1";&lt;BR /&gt;			for (LogCatcherUtils.LogCatcherMessage lcm : tLogCatcher_1&lt;BR /&gt;					.getMessages()) {&lt;BR /&gt;				row1.type = lcm.getType();&lt;BR /&gt;				row1.origin = (lcm.getOrigin() == null&lt;BR /&gt;						|| lcm.getOrigin().length() &amp;lt; 1 ? null : lcm&lt;BR /&gt;						.getOrigin());&lt;BR /&gt;				row1.priority = lcm.getPriority();&lt;BR /&gt;				row1.message = lcm.getMessage();&lt;BR /&gt;				row1.code = lcm.getCode();&lt;BR /&gt;				row1.moment = java.util.Calendar.getInstance().getTime();&lt;BR /&gt;				row1.pid = pid;&lt;BR /&gt;				row1.root_pid = rootPid;&lt;BR /&gt;				row1.father_pid = fatherPid;&lt;BR /&gt;				row1.project = projectName;&lt;BR /&gt;				row1.job = jobName;&lt;BR /&gt;				row1.context = contextStr;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 14:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tLogCatcher-and-tSendMail/m-p/2370584#M133611</guid>
      <dc:creator>bdurand</dc:creator>
      <dc:date>2024-11-16T14:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: tLogCatcher and tSendMail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tLogCatcher-and-tSendMail/m-p/2370585#M133612</link>
      <description>1690</description>
      <pubDate>Mon, 30 Jul 2007 08:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tLogCatcher-and-tSendMail/m-p/2370585#M133612</guid>
      <dc:creator>bdurand</dc:creator>
      <dc:date>2007-07-30T08:40:50Z</dc:date>
    </item>
  </channel>
</rss>

