Qlik Community

Qlik Sense Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

Announcements
QlikWorld, June 24-25, 2020. Free virtual event for DI and DA gurus. Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

Qlik Sense not generating all log files?

QS version November 2017

Hello

We have an issue where QS is not generating all expected log files.

Example case:

Task X has failed for some reason. Task is then automatically retried, starts normally and completes successfully. Customer wants to know what happened with the task the first try when it failed. From QMC it's only possible to check the latest log entry for the task, so we turn to default log folder C:\ProgramData\Qlik\Sense\Log\Script\ and search with loader app ID, only to find out there is no log entry for said app. Next we would turn to ArchivedLogs folder for the same, only to find out there is no log entry either for said date.

log-script-search.JPG

C:\ProgramData\Qlik\Sense\Log\Script\ search

archivedlogs-search.JPG

ArchivedLogs\Script\ folder search

Searches were conducted on June 8th and as you can see from the pictures, logs seem to go straight to ArchivedLogs folder after task has completed. All logs I could find  Do task failure logs save in a different folder than task successfull log?

Also, some days there are no log entries at all, why is that?

Not sure if it's relevant, but I will also add that this example app is old and has been replaced a number of times. App ID has always remained the same though.

Here are the current logging settings:

edit engine.JPG

Could this be a settings issue, or is there something else wrong that I don't see?

6 Replies
Highlighted
Employee
Employee

Re: Qlik Sense not generating all log files?

Hey Aki,

Reloads in the Hub:

  • Saved to C:\ProgramData\Qlik\Sense\Log\Script on the Engine executing the reload

Reloads in the QMC:

  • Created / Appended in C:\ProgramData\Qlik\Sense\Log\Script on the Engine executing the reload during the reload process
  • Moved to ArchivedLogs\ServerName\Script after the script portion of the reload finishes

Does that align with what you are seeing?

Highlighted
Partner
Partner

Re: Qlik Sense not generating all log files?

Hi Levi

Yes it does.

I'm interested about the QMC reloads in particular. As I described, I would occasionally want to check other than the latest log entry for a certain reload task. For example if it was first failed and then succeeds in the second go. But when I browse to the log folder, there might not be a log entry at all.

Contributor
Contributor

Re: Qlik Sense not generating all log files?

Good morning,

There is any new about this, issue ?

Im in the same situation, i can't find all the tasks executions logs on the script folder, on the different nodes(engines, scheduler ...).

Thanks for your reply

Best regards

Highlighted
Contributor III
Contributor III

Re: Qlik Sense not generating all log files?

Hi,

Any finding?

Best Regards,

Louis

Highlighted
Creator
Creator

Re: Qlik Sense not generating all log files?

If a task timeouts before it gets a chance to run then it won't produce a log file.

Timeout is 30 minutes by default.

Highlighted
Contributor III
Contributor III

Re: Qlik Sense not generating all log files?

Hi Shaun,

The task reloads successfully but the log file does not exist.

Best Regards,

Louis