<?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: Context variable name in logs/stats in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341004#M108987</link>
    <description>&lt;P&gt;Hi do you use tlogcatcher to catch all log ?&lt;/P&gt;&lt;P&gt;In tlogCatcher you have a field context : it's the context state use by the job, you can esaily manipulate this variable with custom value for your log.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 12:35:38 GMT</pubDate>
    <dc:creator>gjeremy1617088143</dc:creator>
    <dc:date>2021-04-30T12:35:38Z</dc:date>
    <item>
      <title>Context variable name in logs/stats</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341003#M108986</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i'm loading my context variables via a db and contextload  and determining which environment this should be run under in the SQL table. (with a simple active flag), &lt;/P&gt;&lt;P&gt;is there a way i can populate the context environment name from this load, so that my logs and stats don't say "default" in them but reflect the value in the sql table? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341003#M108986</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2024-11-16T00:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Context variable name in logs/stats</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341004#M108987</link>
      <description>&lt;P&gt;Hi do you use tlogcatcher to catch all log ?&lt;/P&gt;&lt;P&gt;In tlogCatcher you have a field context : it's the context state use by the job, you can esaily manipulate this variable with custom value for your log.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 12:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341004#M108987</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-30T12:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Context variable name in logs/stats</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341005#M108988</link>
      <description>&lt;P&gt;that sounds right. I'm using the inbuilt db function (in job properties) to capture the stats/logs/meter, but still using a tlogcatcher to send some emails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's the db part i'd like to add this field to. do i need to populate a variable for it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 13:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341005#M108988</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-04-30T13:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Context variable name in logs/stats</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341006#M108989</link>
      <description>&lt;P&gt;there is a String variable named contextStr wich is public , it contain the context type (for my job dev, preprod or prod).&lt;/P&gt;&lt;P&gt; you can play with it in a tJava : contextStr = "the value from the db";&lt;/P&gt;&lt;P&gt;and in all the log the field context will have the value you set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 14:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341006#M108989</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-30T14:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Context variable name in logs/stats</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341007#M108990</link>
      <description>&lt;P&gt;That's fantastic Thankyou!  just couldn't find where that variable was!  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it all works!!  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;is there  a reference guide with them in somewhere? &lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 14:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341007#M108990</guid>
      <dc:creator>SAdlam</dc:creator>
      <dc:date>2021-04-30T14:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Context variable name in logs/stats</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341008#M108991</link>
      <description>&lt;P&gt;nope I just find it in the code .&lt;/P&gt;&lt;P&gt;select one of my answer as the best please&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 14:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-variable-name-in-logs-stats/m-p/2341008#M108991</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-30T14:24:13Z</dc:date>
    </item>
  </channel>
</rss>

