-
Re: Viewing Qlik Sense Script Log
Jose Miguel Vilaplana Jul 20, 2017 10:31 AM (in response to Rob Wunderlich )-
Re: Viewing Qlik Sense Script Log
Rob Wunderlich Jul 20, 2017 9:01 PM (in response to Jose Miguel Vilaplana)Hi Jose,
Thanks for the reply. That's the tasklog. I want the script log.
-Rob
-
-
Re: Viewing Qlik Sense Script Log
Debbie Pyykkonen Jul 20, 2017 2:39 PM (in response to Rob Wunderlich )Did you ever get this answer?
-
Re: Viewing Qlik Sense Script Log
Juan Patricio Iorio Jul 20, 2017 3:06 PM (in response to Rob Wunderlich )hi Rob!
You can try this:
LOGS:
LOAD
filename() as LOGNAME,
ROWNO() AS ROW,
"@1:n"
FROM
[lib://yourlib/PROGRAMDATA\Qlik\Sense\Log\Script\*.log] (fix, utf8, no labels);
the problem is that you read all log files, so you need the description; you have two options:
1) If its only one log to read, you can go to the qmc, in apps, you can filter the app and add the column with the id to filter in the LOGS table;
2) The license monitor get the app name (that's the field) reading the logs folder.
I hope it has been useful to you!
-
Re: Viewing Qlik Sense Script Log
Rob Wunderlich Jul 20, 2017 9:08 PM (in response to Juan Patricio Iorio)Hi Juan,
I thought about loading from the log folder, but that's a bit clunky for what I want. I don't want to do analysis, I just want to see my last log quickly to help diagnose a script failure during development, usually wanting to see variable substitution.
As an alternative, I'm learning to value the Sense Output window. The error messages there can be pretty specific.
I've also found that a breakpoint in the debugger will show a statement after variable substitution, very useful and something I never noticed before (or forgot).
-Rob
-
Re: Viewing Qlik Sense Script Log
Debbie Pyykkonen Jul 21, 2017 10:08 AM (in response to Rob Wunderlich )The logs are also stored in Qlik\Sense\Logs\Scripts\
Debbie Pyykkonen
Senior Implementation Consultant
Email: Debbie.Pyykkonen@qlik.com
Qlik
qlik.com<http://www.qlik.com/>
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
-
image001.jpg 82.2 K
-
-
Re: Viewing Qlik Sense Script Log
Juan Patricio Iorio Jul 21, 2017 2:19 PM (in response to Rob Wunderlich )Rob,
I think the debuguer is the best option to do that!
By the way, I create a qvf to read the logs easy; the only thing is that it have to be reloaded after run the qvf where we work.
Juan Patricio
-
LOGS.qvf 480.0 K
-
Re: Viewing Qlik Sense Script Log
Manan M Mar 19, 2018 3:43 PM (in response to Juan Patricio Iorio)Hello Juan,
How do I use your QVF? I am facing issue with connection - lib://ArchievedLogsFolder QS01/'; and 'ServerLogFolder QS01'. How do I replace these values? I am currently trying it firstly on Qliksense Desktop. I would want to implement it on my QS Server as well once it works well on QS Desktop.
TIA
-
-
-
-
Re: Viewing Qlik Sense Script Log
Michael Solomovich Jul 20, 2017 3:28 PM (in response to Rob Wunderlich )Had the same question, asked around.
In QMC, go to the Tasks. In the Status column, click on the info icon, and thee will be "Download Log" at the bottom.
-
Re: Viewing Qlik Sense Script Log
Juan Patricio Iorio Jul 20, 2017 3:30 PM (in response to Michael Solomovich )But if you work in QS server, the log update ONLY when it runs from the qmc tasks, not manually.
-
Re: Viewing Qlik Sense Script Log
Michael Solomovich Jul 20, 2017 3:41 PM (in response to Juan Patricio Iorio)Yes.
-
-