By default, the QlikView Distribution Service purges task logs after 30 days (720 hours).
The purge of logs is a very low priority for the QDS, and the thread to clear the logs will only be executed once every 24 hours to check if a purge cycle is in order. Once the clock has passed 720 hours, the flag is set for the 720+ old log files to be cleared upon the next run of the purger thread.
This might happen at any time during the following 24 hours, in worst case, the logs will become 720+23:59 hours old before they are cleared.
The intervals are using a time stamp and uses that as a base. So if the QDS is started at 09:32, that is our "base" time stamp.
The cleanup will the happen every 24 hours exactly following that.Environments:
- QlikView 11.20
- QlikView 12.00, 12.10 and 12.20
The value of how long the logs are kept can be configured.
- To do so, stop the QlikView Distribution Service.
- Open the QVDistributionService.exe.config located in C:\Program Files\QlikView\Distribution Service
- Find and modify:
<add key="NbrOfDaysToKeepQDSLogs" value="30"/>
<!-- The number of days to keep QDS logs -->
- Start the Distribution Service