<?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: Temporarily Disable Logging in Load Script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Temporarily-Disable-Logging-in-Load-Script/m-p/1959607#M79083</link>
    <description>&lt;P&gt;Hi, So far I know there is no option to disable logs by script command.&lt;/P&gt;
&lt;P&gt;In my experience to optimize loops, it's more importan check what it's doing in each iteration an try to optimize that task, in example, if it does a resident load, break the load in smallest portions and always do an optimized load when loading from qvds.&lt;/P&gt;</description>
    <pubDate>Sat, 23 Jul 2022 07:29:43 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2022-07-23T07:29:43Z</dc:date>
    <item>
      <title>Temporarily Disable Logging in Load Script</title>
      <link>https://community.qlik.com/t5/App-Development/Temporarily-Disable-Logging-in-Load-Script/m-p/1959154#M79063</link>
      <description>&lt;P&gt;Have a section in a Load script that loops through the records&amp;nbsp; updating some fields based on prior values (not necessarily the 1 previous) based on various logic of other field values.&lt;/P&gt;
&lt;P&gt;Because the loop adds a record to a result set, it logs a message for each record added (something like):&lt;/P&gt;
&lt;DIV class="message default"&gt;
&lt;DIV class="selectable"&gt;DV &amp;lt;&amp;lt; a368590e-67dc-4e1b-973c-1875f6136490&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="message default"&gt;
&lt;DIV class="selectable"&gt;Lines fetched: 1&lt;/DIV&gt;
&lt;DIV class="selectable"&gt;
&lt;DIV class="message default"&gt;
&lt;DIV class="selectable"&gt;DV &amp;lt;&amp;lt; a368590e-67dc-4e1b-973c-1875f6136490&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="message default"&gt;
&lt;DIV class="selectable"&gt;Lines fetched: 2&lt;/DIV&gt;
&lt;DIV class="selectable"&gt;
&lt;DIV class="message default"&gt;
&lt;DIV class="selectable"&gt;DV &amp;lt;&amp;lt; a368590e-67dc-4e1b-973c-1875f6136490&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="message default"&gt;
&lt;DIV class="selectable"&gt;Lines fetched: 3&lt;/DIV&gt;
&lt;DIV class="selectable"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="selectable"&gt;There are over a hundred thousand records so this takes over an hour and disabling the logging may? increase the performance. (Re-writing to remove the loop would be best, but time is limited)&lt;/DIV&gt;
&lt;DIV class="selectable"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="selectable"&gt;Is there a script command to set or disable the logging?&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="selectable"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Jul 2022 23:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Temporarily-Disable-Logging-in-Load-Script/m-p/1959154#M79063</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2022-07-21T23:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Temporarily Disable Logging in Load Script</title>
      <link>https://community.qlik.com/t5/App-Development/Temporarily-Disable-Logging-in-Load-Script/m-p/1959607#M79083</link>
      <description>&lt;P&gt;Hi, So far I know there is no option to disable logs by script command.&lt;/P&gt;
&lt;P&gt;In my experience to optimize loops, it's more importan check what it's doing in each iteration an try to optimize that task, in example, if it does a resident load, break the load in smallest portions and always do an optimized load when loading from qvds.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 07:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Temporarily-Disable-Logging-in-Load-Script/m-p/1959607#M79083</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-07-23T07:29:43Z</dc:date>
    </item>
  </channel>
</rss>

