Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Log Files

Hi Guys,

Can you please tell me how to generate log files in qlikview.

I have a script that loads heavy data and thus is scheduled at night(non-peak hours).

How does one generate daily logs for these loads.

Rochelle.

7 Replies
shreyashetty_ge
Contributor II
Contributor II

hi..

Go to settings --document properties --- general tab

On the right side there are many check boxes , select the second option. you will be able to generate a log file.

But if you want to generate log with the timestamp select 2nd and 3rd checkbox.

sujeetsingh
Master III
Master III

Untitled.jpg

See the option of Genetare Logfile Checkbox

Not applicable
Author

Ok people..

Ill try this out...

Thanks for your inputs

saumyashah90
Specialist
Specialist

first you put

Set ErrorMode =1; in script,

after that you go to Settings->Document Properties -> general -> tick Generate log file

Peter_Cammaert
Partner - Champion III
Partner - Champion III

By default, those log files contain just script statements and possibly their execution results (for LOAD and SQL SELECT).

You can use the TRACE statement to add your own information to a log, like for instance the content of crucial variables or the reason why you end up in the THEN or ELSE part of an IF statement. Very useful for unattended execution.

Best,

Peter

Not applicable
Author

Thanks Peter,

But how to use this TRACE statement..

Please elaborate

Peter_Cammaert
Partner - Champion III
Partner - Champion III

From QlikView Help:

QlikView Help - TRACE statement.jpg

QlikView Help can be opened by selecting Help->Contents from the Desktop menu bar.

Peter