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: 
HillVi
Partner - Contributor II
Partner - Contributor II

Capability Service logs

Hello everyone!

I am a bit puzzled when it comes to logging. 

The log-folder in C:\ProgramData\Qlik\Sense\Log is getting quite big and we have to decrease its size to save space.

However, I can't seem to find any information in regards to which logs are worth saving. For example - the folder Capability Service takes up the majority of space.

Can I simply delete these logs or are they used somewhere? Moreover - what exactly do these logs tell me? I have both txt-files with and without the suffix '-access'. 

Thankful for any input!

 

 

Labels (1)
  • QMC

1 Solution

Accepted Solutions
Andrei_Cusnir
Specialist
Specialist

Hello,

 

According to the official documentation page "Logging" [1], it is stated that "The log messages produced by Qlik Sense provide important information about the general well-being of the deployment". Additionally, you can visit the official documentation page "Storage" [2], where you can find more details about all the subfolders in the main %ProgramData%\Qlik\Sense\Log directory.

 

In general those logs are there to let you know of any errors in the background, reason for failed tasks, if everything is running smoothly etc. Those logs probably can be reduced/removed if needed to save up some space, as they are stored to give you an overall idea of your setup's health status and there are other users that also have asked this question in the past. For example you can see "Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log" [3], where the response stated "The best solution though remains clearing out the old logs every once in a while..."

 

NOTE: Keep in mind that those logs can also be requested by Support Team in case you raise a support ticket with an issue and keeping older logs (a couple of months back), could provide a better understanding of how the system was operating in the past few months until the issue that you are reporting occurred. 

 

Also, those logs are used in Monitoring Apps [4] when you want to analyze the behavior of your system and check statistics of used resources over the time etc. Be careful as, entirely deleting the directory, might lead to Monitoring App not working properly during reload, as it won't find the linked directory of the connection or having none logs at all, will not give you the overall idea of how the health status of your system is. 

 

Recommendations:

  1. In general you can delete older logs to clear up some space, but try keeping some latest logs (up to a couple of months back) in case they are needed
  2. You can change the location of where the logs are stored, which might allow you to choose a different drive with more space, instead of taking your main drive's space.

I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, addressed your concerns or at least pointed you in the right direction, please mark it as Accepted Solution to give further visibility to other community members. 
 

---

[1] https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployA...

[2] https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployA...

[3] https://community.qlik.com/t5/Deployment-Management/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log...

[4] https://help.qlik.com/en-US/sense-admin/November2021/Subsystems/DeployAdministerQSE/Content/Sense_De...

Help users find answers! Don't forget to mark a solution that worked for you! 🙂

View solution in original post

3 Replies
Andrei_Cusnir
Specialist
Specialist

Hello,

 

According to the official documentation page "Logging" [1], it is stated that "The log messages produced by Qlik Sense provide important information about the general well-being of the deployment". Additionally, you can visit the official documentation page "Storage" [2], where you can find more details about all the subfolders in the main %ProgramData%\Qlik\Sense\Log directory.

 

In general those logs are there to let you know of any errors in the background, reason for failed tasks, if everything is running smoothly etc. Those logs probably can be reduced/removed if needed to save up some space, as they are stored to give you an overall idea of your setup's health status and there are other users that also have asked this question in the past. For example you can see "Sense: 5Gig of logs in: ProgramData\Qlik\Sense\Log" [3], where the response stated "The best solution though remains clearing out the old logs every once in a while..."

 

NOTE: Keep in mind that those logs can also be requested by Support Team in case you raise a support ticket with an issue and keeping older logs (a couple of months back), could provide a better understanding of how the system was operating in the past few months until the issue that you are reporting occurred. 

 

Also, those logs are used in Monitoring Apps [4] when you want to analyze the behavior of your system and check statistics of used resources over the time etc. Be careful as, entirely deleting the directory, might lead to Monitoring App not working properly during reload, as it won't find the linked directory of the connection or having none logs at all, will not give you the overall idea of how the health status of your system is. 

 

Recommendations:

  1. In general you can delete older logs to clear up some space, but try keeping some latest logs (up to a couple of months back) in case they are needed
  2. You can change the location of where the logs are stored, which might allow you to choose a different drive with more space, instead of taking your main drive's space.

I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, addressed your concerns or at least pointed you in the right direction, please mark it as Accepted Solution to give further visibility to other community members. 
 

---

[1] https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployA...

[2] https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployA...

[3] https://community.qlik.com/t5/Deployment-Management/Sense-5Gig-of-logs-in-ProgramData-Qlik-Sense-Log...

[4] https://help.qlik.com/en-US/sense-admin/November2021/Subsystems/DeployAdministerQSE/Content/Sense_De...

Help users find answers! Don't forget to mark a solution that worked for you! 🙂
HillVi
Partner - Contributor II
Partner - Contributor II
Author

Thank you Andrei! That was very useful information!

giociva
Partner - Creator
Partner - Creator

hi @Andrei_Cusnir 

as per your "You can change the location of where the logs are stored, which might allow you to choose a different drive with more space, instead of taking your main drive's space".

Can you post the procedure to do that? As far as I know you can't redirect the c:\ProgramData\Qlik\Sense\Log to other disk/volume (the only way is to use a mount point like https://learn.microsoft.com/en-us/windows-server/storage/disk-management/assign-a-mount-point-folder... or creating a symlink with https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mklink but I don't think this is officially supported). Am I right?

Thanks in advance.