Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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!
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:
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.
---
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:
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.
---
Thank you Andrei! That was very useful information!
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.