<?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: [10] Avoid logging a part of the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/10-Avoid-logging-a-part-of-the-script/m-p/456644#M170496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it works as expected. I would prefer a flag to activate / deactivate but at least it's a good workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2013 13:16:58 GMT</pubDate>
    <dc:creator>nstefaniuk</dc:creator>
    <dc:date>2013-01-25T13:16:58Z</dc:date>
    <item>
      <title>[10] Avoid logging a part of the script</title>
      <link>https://community.qlik.com/t5/QlikView/10-Avoid-logging-a-part-of-the-script/m-p/456642#M170494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do a loop in my script and I would like to avoid to log all the loops in the log file. If I have 1000 loops, the final log file is about 20 MB, which is huge when the application is launched many times per day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it is possible to activate a stop-log option and deactivate it at a point of the script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, how can I achieve it ? Moving this part of the script in an hidden script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 08:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/10-Avoid-logging-a-part-of-the-script/m-p/456642#M170494</guid>
      <dc:creator>nstefaniuk</dc:creator>
      <dc:date>2013-01-25T08:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: [10] Avoid logging a part of the script</title>
      <link>https://community.qlik.com/t5/QlikView/10-Avoid-logging-a-part-of-the-script/m-p/456643#M170495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it appears you can declare a subroutine in the hidden script and call it from the main load and it won't log it - useful to know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hidden script ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub HiddenLog&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let tablename= 'HiddenDataLoad' &amp;amp; floor(rand()*1000);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(tablename):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load hiddenFld as $(tablename) inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hiddenFld&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;8&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;9];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... logs as ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM&gt;25/01/2013 09:08:09:&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;Joining/Keeping&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;EM&gt;25/01/2013 09:08:09: 0055&amp;nbsp; Call HiddenLog&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;25/01/2013 09:08:09: 0056&amp;nbsp; Call HiddenLog&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;25/01/2013 09:08:09: 0057&amp;nbsp; Call HiddenLog&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;25/01/2013 09:08:09: 0059&amp;nbsp; MoreData:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 09:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/10-Avoid-logging-a-part-of-the-script/m-p/456643#M170495</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-01-25T09:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: [10] Avoid logging a part of the script</title>
      <link>https://community.qlik.com/t5/QlikView/10-Avoid-logging-a-part-of-the-script/m-p/456644#M170496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it works as expected. I would prefer a flag to activate / deactivate but at least it's a good workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 13:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/10-Avoid-logging-a-part-of-the-script/m-p/456644#M170496</guid>
      <dc:creator>nstefaniuk</dc:creator>
      <dc:date>2013-01-25T13:16:58Z</dc:date>
    </item>
  </channel>
</rss>

