QlikView 12: Distribution Service is not generating document log until reload completionArticle Number: 000030238 | Last Modified: 2019/12/04
While a reload is in process, the document reload log cannot be found in the QlikView Distribution Service's standard location.
Qlikview 12.0 and up
QlikView Distribution Service (Publisher reloads)
Since QlikView 12 SR 1, the document reload log is generated locally on the QlikView Distribution Service node handling the reload task inside C:\ProgramData\QlikTech\QlikViewBatch
Once the reload is completed, the document log is copied to the Source Document folder and QDS Application Data folder.
The purpose of this change is to avoid continuously writing log entries to remote folders. This change is documented in the Release Notes for QlikView 12 SR 1, which is available in our download site.
Accordingly, if a customer wants to monitor document logs during reload, they can find these logs at C:\ProgramData\QlikTech\QlikViewBatch.
Temporary logs in this folder will be erased when the reload is done.
QlikView Desktop client
For QlikView Desktop, the temporary script log is written to C:\ProgramData\QlikTech\QlikView while the reload is in progress. Once the reload is done, the log is copied to the same path with the qvw document.
Release Notes (12.00 SR 1)
Document log optimization for QlikView Publisher
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.
Local script logging can be controlled using the LocalScriptLogging= and the ScriptLogFolder= parameters. These parameters can be added to the settings.ini file located by default in C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch. If these parameters are not included in the settings.ini file, local script logging is enabled.
By default, logs are written locally to C:\ProgramData\QlikTech\QlikViewBatch before the are moved to the remote app folder. If a reload crashes, the logs may be retrieved from this folder. The ScriptLogFolder= parameter can be defined to set the folder logs are written to. You can also disable local script logging by setting LocalScriptLogging= to 0. 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 LocalScriptLogging= to 1 and leaving ScriptLogFolder= empty.
For QlikView Desktop, parameters LocalScriptLogging and ScriptLogFolder can be changed in settings.ini file located under C:\Users\<UserName>\AppData\Roaming\QlikTech\QlikView. These parameters can also be altered using Easter Egg in QlikView: Help > About QlikView... > right click the QlikView logo at the bottom left corner of the "About QlikView" dialog.
Have a Question?
Search Qlik's Support Knowledge database or request assisted support for highly complex issues.Submit a case
Experiencing a serious issue, please contact us by phone. View phone numbers and hours by region.