Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
rzenere_avvale
Partner - Specialist II
Partner - Specialist II

When are Logs moved to Archived Logs?

Hi everyone,

I have a QS 3.2.2 multinode installation with Shared Persistence.

Today I was looking at the Logs folder on the central node, and I found that there are still logs from over a month a go.

I thought that Logs were moved to Archived Logs every day/at every service restart (all nodes have been restarted recently).

So, my question is: when are Logs moved to Archived Logs?

Many thanks,

Riccardo

1 Solution

Accepted Solutions
Levi_Turner
Employee
Employee

When one of three conditions are met:

  1. Service Restart
  2. The log reaches 8MB
  3. Every 12 hours

View solution in original post

7 Replies
Levi_Turner
Employee
Employee

When one of three conditions are met:

  1. Service Restart
  2. The log reaches 8MB
  3. Every 12 hours
rzenere_avvale
Partner - Specialist II
Partner - Specialist II
Author

Hi Levi,

many thanks for your reply.

Another question: is there a reason why the logs are not moved to archived logs even if I'm definitely sure that two of these conditions have been met?

Many thanks,

Riccardo

Levi_Turner
Employee
Employee

What log in particular? e.g. C:\ProgramData\Qlik\Sense\Log\......txt?

rzenere_avvale
Partner - Specialist II
Partner - Specialist II
Author

Script logs, those found in the folder C:\ProgramData\Qlik\Sense\Log\Script\*.txt

Levi_Turner
Employee
Employee

Ahh. So those logs are a bit special in some ways.

There are two ways to reload apps:

  1. In the Hub
  2. From the QMC (as a task)

Script logs from (1) go to C:\ProgramData\Qlik\Sense\Log\Script\ and do not get archived.


Script logs from (2) go to C:\ProgramData\Qlik\Sense\Log\Script\ while the reload is occurring then get archived.

rzenere_avvale
Partner - Specialist II
Partner - Specialist II
Author

Ah, I see.

All clear, many thanks Levi!

LubosZan
Partner - Contributor II
Partner - Contributor II

Hi, which service is responsible for moving the logs to archived folder (Qlik share folder)? Is it a repository service of central and all rim nodes, which handle this operation? In case of higher amount of logging (debugging), can it be responsible for excessive amount of memory RAM taken by repository service together with higher network traffic (moving log files from rim nodes)?