Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Does anyone know of a simple way to view the script log from the last reload when developing in QS Server? I know I can go to the server ProgramData folder, but what if I don't have access to the server? Am I missing something easy?
-Rob
Hi
The last log is available in the QMC, do you have access?
Did you ever get this answer?
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!
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.
But if you work in QS server, the log update ONLY when it runs from the qmc tasks, not manually.
Yes.
Hi Jose,
Thanks for the reply. That's the tasklog. I want the script log.
-Rob
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
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.