Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have a question regarding the Normal vs Debug Logging in QDS. Currently we have around 8GB worth of log file that has got generated and stored in our C drive. This is eating up the space.
Question:
Should I have Normal Logging ON which would generate less log data
OR
Should I have Debug Logging ON and have of Log data since the beginning
Is there any way to keep only past one month of log data in the "C:\ProgramData\QlikTech\DistributionService\1\Log" folder.
What is the use of this log data? Is it used in the Governance Dashboard.
Regards,
Janaki
Do I need to modify the below config file?
"C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe.config"
<!-- The number of days to keep QDS logs -->
<add key="NbrOfDaysToKeepQDSLogs" value="200" />
I think that on average you don't need Debug Logging enabled, except when facing exceptional circumstances.
The task logs and Root_* and WorkOrder_* logs in the directory you mentioned are eliminated already after 30 days (if you didn't change the configuration parameter) Do you want to make that period even shorter?
Peter
Hi Peter,
Which configuration file should be changed to shorten the task log period?
Regards,
Janaki
Do I need to modify the below config file?
"C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe.config"
<!-- The number of days to keep QDS logs -->
<add key="NbrOfDaysToKeepQDSLogs" value="200" />
Yes indeed, you do need to change that setting (and restart the QDS)
Apparently, the current value seems extremely large (200 days), which explains why your C:-drive is getting filled...Better restore it to its default value of 30.
Best,
Peter
I thought this config change will help keep Task History.
Hi Peter,
I want to store last 200 days worth of logs for the Tasks that I create on QMC. How do I achieve that?
Regards,
Janaki
Without filling up your C: drive you mean?
Then leave this parameter set at 200 days (log files are an important part of the task history, which by itself is not deleted but won't show up in the QMC anymore after the specified number of days).
In the same configuration file, there is a setting called "ApplicationDataFolder". Usually this has no value and defaults to the directory that all services use to store stuff. For the Distribution Service, you can change that one to another directory on a drive with ample space. You can try these steps:
You can always revert back to the old location if something doesn't work out as expected. Or remove the original DistributionService folder if everything checks out just fine.
Best,
Peter