Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Viewing Qlik Sense Script Log

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

11 Replies
jmvilaplanap
Specialist
Specialist

Hi

The last log is available in the QMC, do you have access?

Capture.PNG

dyy
Employee
Employee

Did you ever get this answer? 

juan_patrick
Creator
Creator

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!

Anonymous
Not applicable

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.

juan_patrick
Creator
Creator

But if you work in QS server, the log update ONLY when it runs from the qmc tasks, not manually.

Anonymous
Not applicable

Yes.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP
Author

Hi Jose,

Thanks for the reply. That's the tasklog. I want the script log.

-Rob

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP
Author

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

http://masterssummit.com

http://qlikviewcookbook.com

dyy
Employee
Employee

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.