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 on / off function

Hi everyone,

I have an application and when I reload it the log file is big. I really need the log, so to turn off the logs is not a solution.

The log is big because I wrote a script with a loop, and in my log file I have this a million times:

04/09/2012 18:52:26: 0102    let date1 = peek('xxx',4785,'xx')

04/09/2012 18:52:26: 0103    let date2 = peek('xxx',4785,'xxx')

04/09/2012 18:52:26: 0104    let idxxx = peek('xx',4785,'xxx')

04/09/2012 18:52:26: 0105    LET NumOfBin = date1 - date2 + 1

04/09/2012 18:52:26: 0107    xxxx:

04/09/2012 18:52:26: 0108              LOAD

04/09/2012 18:52:26: 0109                        'xxxxx' as xxxx,

04/09/2012 18:52:26: 0110                        'xxxx' + RowNo()-1 as xxx.xxx

04/09/2012 18:52:26: 0111              AutoGenerate 1

04/09/2012 18:52:26:                   2 fields found: xxx, xx.xxx, 7 958 lines fetched

04/09/2012 18:52:26: 0112  next

I want to do turn off the log only in this part of my script. Is it possible ?

thanks

regards

Adrian

1 Reply
Miguel_Angel_Baeyens

Hi Adrian,

It's not possible to disable the log for only one part of the script. What that log does is to follow each line of the script as it is executed and write into a text file as the example you posted above. So you either allow document log generation or disable it, but not for some parts.

However, you can create a logging application that, from a given log, it only extracts parts that you could be more interested in into a QlikView application.

Hope that helps.

Miguel