Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
Partner
Partner

In Qlikview 12 SR7 , it does not generate logs during reloading of the qvw .

Hi ,

Recently, We have migrated to QlikView 12 SR 7 and observed that it's not generating logs during the reload of the application and generate the logs after completion of the load/reload.

Has anyone noticed the same thing? Is it a bug?

TIA

Saurabh

5 Replies
ravi_adiwal
New Contributor

Re: In Qlikview 12 SR7 , it does not generate logs during reloading of the qvw .

This is not a bug. It is default behavior.Since QlikView 12 SR1, the document reload log is generated locally on the QlikView Distribution Serrvice node handling the reload task inside C:\ProgramData\QlikTech\QlikViewBatch


Refer KBA : 000030238


QlikView 12: Distribution Service apparently not generating document log until reload completion

christinehuband
New Contributor III

Re: In Qlikview 12 SR7 , it does not generate logs during reloading of the qvw .

What if you need to see what's happening during a reload but the software isn't loaded on your machine and you don't have access to this file?

Re: In Qlikview 12 SR7 , it does not generate logs during reloading of the qvw .

Then maybe you should reload using QV Desktop instead of the QlikView Distribution Service to which you don't seem to have access?

MVP & Luminary
MVP & Luminary

Re: In Qlikview 12 SR7 , it does not generate logs during reloading of the qvw .

That's a reasonable question. It's quite possible to be a document admin who can run tasks but may not have access to c:\ProgramData.  There is an option to use the old behavior. It's documented in the QV12 SR1 Release Notes. Since I don't see it documented anywhere else, I thought I would reproduce it here.

--------

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.

prees959
Contributor II

Re: In Qlikview 12 SR7 , it does not generate logs during reloading of the qvw .

Hi, We have also noticed this since upgrading to QV12.  Namely, the document usage logs that feed the Governance Dashboard are no longer being loaded.  

Will the update to settings.ini file amend this issue...  Ideally we want the usage logs to be saved in the same place as QV11 so all can be loaded into the Governance Dashboard.

 

Thanks for any advice,

Phil