<?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>article QlikView 12: Distribution Service is not generating document log until reload completion in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-12-Distribution-Service-is-not-generating-document-log/ta-p/1715583</link>
    <description>&lt;P&gt;While a reload is in process, the document reload log cannot be found in the expected QlikView Distribution Service's location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;QlikView Distribution Service (Publisher reloads)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;The document reload log is generated locally on the QlikView Distribution Service node handling the reload task. This means the file is stored locally in&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\ProgramData\QlikTech\QlikViewBatch&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Once the reload is completed, the document log is copied to the Source Document folder and QDS Application Data folder.&lt;BR /&gt;&lt;BR /&gt;The purpose of this is to avoid continuously writing log entries to&amp;nbsp;remote folders.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To monitor document logs during reload, these logs can be found at&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\ProgramData\QlikTech\QlikViewBatch&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;Temporary logs in this folder will be moved when the reload is done.&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;QlikView Desktop client&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;For QlikView Desktop, the temporary script log is written to&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\ProgramData\QlikTech\QlikView&lt;/SPAN&gt;&amp;nbsp;&lt;/FONT&gt;while the reload is in progress. Once the reload is done, the log is copied to the same path with the qvw document.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Details&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;I&gt;&lt;STRONG&gt;Document log optimization for QlikView Publisher&lt;/STRONG&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;An increase in app reload times was observed in QlikView 12 when document logging is enabled in the document settings. This increase is most significant when using QlikView Publisher, because log files are often written to a remote folder. To mitigate against this increase in reload times, logs are now saved locally, by default, before they are copied to the remote app folder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;&amp;nbsp;Local script logging can be controlled using the &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;LocalScriptLogging=&lt;/SPAN&gt;&lt;/FONT&gt; and the &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;ScriptLogFolder=&lt;/SPAN&gt;&lt;/FONT&gt; parameters. These parameters can be added to the settings.ini file located by default in &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch.&lt;/SPAN&gt;&lt;/FONT&gt; If these parameters are not included in the &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;settings.ini&lt;/STRONG&gt; &lt;/FONT&gt;file, local script logging is enabled.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;By default, logs are written locally to &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\ProgramData\QlikTech\QlikViewBatch&lt;/SPAN&gt;&lt;/FONT&gt; before they are moved to the remote app folder. If a reload crashes, the logs may be retrieved from this folder. The &lt;FONT face="courier new,courier"&gt;ScriptLogFolder=&lt;/FONT&gt; parameter can be defined to set the folder logs are written to. You can also disable local script logging by setting &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;LocalScriptLogging=&lt;/SPAN&gt;&lt;/FONT&gt;&lt;I&gt; &lt;/I&gt;to &lt;FONT face="courier new,courier"&gt;0&lt;/FONT&gt;. With this setting disabled, logs are written directly to the remote app folder. The default local logging behavior can also be achieved by adding the two parameter and setting &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;LocalScriptLogging=&lt;/SPAN&gt;&lt;/FONT&gt; to &lt;FONT face="courier new,courier"&gt;1&lt;/FONT&gt; and leaving&lt;FONT face="courier new,courier"&gt; &lt;SPAN&gt;ScriptLogFolder=&lt;/SPAN&gt;&lt;I&gt; &lt;/I&gt;empty&lt;/FONT&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;For QlikView Desktop, parameters &lt;SPAN&gt;LocalScriptLogging&lt;/SPAN&gt;&amp;nbsp;and &lt;SPAN&gt;ScriptLogFolder&lt;/SPAN&gt;&amp;nbsp;can be changed in &lt;SPAN&gt;settings.ini&lt;/SPAN&gt; file located under&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\Users\&amp;lt;UserName&amp;gt;\AppData\Roaming\QlikTech\QlikView&lt;/SPAN&gt;&lt;/FONT&gt;. These parameters can also be altered using Easter Egg in QlikView: Help &amp;gt; About QlikView... &amp;gt; right-click the QlikView logo at the bottom left corner of the "About QlikView" dialogue.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 08:32:28 GMT</pubDate>
    <dc:creator>Daniele_Purrone</dc:creator>
    <dc:date>2022-10-11T08:32:28Z</dc:date>
    <item>
      <title>QlikView 12: Distribution Service is not generating document log until reload completion</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-12-Distribution-Service-is-not-generating-document-log/ta-p/1715583</link>
      <description>&lt;P&gt;While a reload is in process, the document reload log cannot be found in the expected QlikView Distribution Service's location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;QlikView Distribution Service (Publisher reloads)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;The document reload log is generated locally on the QlikView Distribution Service node handling the reload task. This means the file is stored locally in&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\ProgramData\QlikTech\QlikViewBatch&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Once the reload is completed, the document log is copied to the Source Document folder and QDS Application Data folder.&lt;BR /&gt;&lt;BR /&gt;The purpose of this is to avoid continuously writing log entries to&amp;nbsp;remote folders.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To monitor document logs during reload, these logs can be found at&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\ProgramData\QlikTech\QlikViewBatch&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;Temporary logs in this folder will be moved when the reload is done.&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;QlikView Desktop client&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;For QlikView Desktop, the temporary script log is written to&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\ProgramData\QlikTech\QlikView&lt;/SPAN&gt;&amp;nbsp;&lt;/FONT&gt;while the reload is in progress. Once the reload is done, the log is copied to the same path with the qvw document.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Details&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;I&gt;&lt;STRONG&gt;Document log optimization for QlikView Publisher&lt;/STRONG&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;An increase in app reload times was observed in QlikView 12 when document logging is enabled in the document settings. This increase is most significant when using QlikView Publisher, because log files are often written to a remote folder. To mitigate against this increase in reload times, logs are now saved locally, by default, before they are copied to the remote app folder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;&amp;nbsp;Local script logging can be controlled using the &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;LocalScriptLogging=&lt;/SPAN&gt;&lt;/FONT&gt; and the &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;ScriptLogFolder=&lt;/SPAN&gt;&lt;/FONT&gt; parameters. These parameters can be added to the settings.ini file located by default in &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch.&lt;/SPAN&gt;&lt;/FONT&gt; If these parameters are not included in the &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;settings.ini&lt;/STRONG&gt; &lt;/FONT&gt;file, local script logging is enabled.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;By default, logs are written locally to &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\ProgramData\QlikTech\QlikViewBatch&lt;/SPAN&gt;&lt;/FONT&gt; before they are moved to the remote app folder. If a reload crashes, the logs may be retrieved from this folder. The &lt;FONT face="courier new,courier"&gt;ScriptLogFolder=&lt;/FONT&gt; parameter can be defined to set the folder logs are written to. You can also disable local script logging by setting &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;LocalScriptLogging=&lt;/SPAN&gt;&lt;/FONT&gt;&lt;I&gt; &lt;/I&gt;to &lt;FONT face="courier new,courier"&gt;0&lt;/FONT&gt;. With this setting disabled, logs are written directly to the remote app folder. The default local logging behavior can also be achieved by adding the two parameter and setting &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;LocalScriptLogging=&lt;/SPAN&gt;&lt;/FONT&gt; to &lt;FONT face="courier new,courier"&gt;1&lt;/FONT&gt; and leaving&lt;FONT face="courier new,courier"&gt; &lt;SPAN&gt;ScriptLogFolder=&lt;/SPAN&gt;&lt;I&gt; &lt;/I&gt;empty&lt;/FONT&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;For QlikView Desktop, parameters &lt;SPAN&gt;LocalScriptLogging&lt;/SPAN&gt;&amp;nbsp;and &lt;SPAN&gt;ScriptLogFolder&lt;/SPAN&gt;&amp;nbsp;can be changed in &lt;SPAN&gt;settings.ini&lt;/SPAN&gt; file located under&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\Users\&amp;lt;UserName&amp;gt;\AppData\Roaming\QlikTech\QlikView&lt;/SPAN&gt;&lt;/FONT&gt;. These parameters can also be altered using Easter Egg in QlikView: Help &amp;gt; About QlikView... &amp;gt; right-click the QlikView logo at the bottom left corner of the "About QlikView" dialogue.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 08:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/QlikView-12-Distribution-Service-is-not-generating-document-log/ta-p/1715583</guid>
      <dc:creator>Daniele_Purrone</dc:creator>
      <dc:date>2022-10-11T08:32:28Z</dc:date>
    </item>
  </channel>
</rss>

