Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Different Logfiles

Hello everybody,

I am currently dealing with the issue of errors. Customers of mine should send me in the future only

the log file, if an error occurs. So far, this has been done via a screenshot.

I get different Lod files for different documents. One with the time, the loaded table columns or the occurred error.

Another report lists all the commands or errors, and even the lines in the script, in addition to the times.

The only difference in the header of the logfile is another number after the "sequentialthreadcount" command.

Can someone tell me how I can influence what is listed there? I have the complete script is not locked free of charge.

Thank you for your feedback!

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

You are talking about QlikView log files that are generated during a reload of a document that has option "Generate Logfile" enabled in Settings->Document Properties->General?

The output depends on a number of factors:

  • Log file from the location of the reloaded document or from the Publisher tree (in C:\ProgramData\QlikTech\DistributionService\1\Log\). The main difference between the two is the additional timestamp in front of every line.
  • Code executed from the Hidden script will not generate output in your log. So if all script code is hidden = no output in your log file.
  • The Publisher tree contains a number of log files for every reload attempt. Among them a DocumentLog.txt containing script statements and their results, a TaskLog.txt containing QDS process steps and information and often a Distribution Report in xml format.

Peter

View solution in original post

4 Replies
isingh30
Specialist
Specialist

Peter_Cammaert
Partner - Champion III
Partner - Champion III

You are talking about QlikView log files that are generated during a reload of a document that has option "Generate Logfile" enabled in Settings->Document Properties->General?

The output depends on a number of factors:

  • Log file from the location of the reloaded document or from the Publisher tree (in C:\ProgramData\QlikTech\DistributionService\1\Log\). The main difference between the two is the additional timestamp in front of every line.
  • Code executed from the Hidden script will not generate output in your log. So if all script code is hidden = no output in your log file.
  • The Publisher tree contains a number of log files for every reload attempt. Among them a DocumentLog.txt containing script statements and their results, a TaskLog.txt containing QDS process steps and information and often a Distribution Report in xml format.

Peter

marcus_sommer

Differences could be caused from various settings, for example the option within the user-properties to write the log-file immediately which AFAIK meant that each load-step will be written after it was executed and not after the whole reload is finished:

If ERORMODE is applied within the load in some applications you might see more errors as in other applications.

Also some settings within the easter egg could have an impact:

- Marcus

Anonymous
Not applicable
Author

Thank you! The hint with the hidden script was just right.

I solved my problem with a trace command und an extra logfile,

which I additionally apply to the normal.