Symptoms
By default; the "Number of days to keep logs" in the VDS Control Panel is set to 60 days.
This number is set in the manager.xml and it reflects the amount of days to keep the IIS logs in the VDS.
Resolution
There are "http" and "ftp" "activeservice" nodes under account template in the manager.xml. Both these nodes have a parameter log_keep_time="60" and it can be changed to another value.Execute those Open API commands with the require variable for time (in the example – its 8).
cmd="set" keys_path="sphera\account_profiles\custom\account_template\activeservices\http"
log_keep_time="8"
xml_only="true"
/>
cmd="set" keys_path="sphera\account_profiles\custom\account_template\activeservices\ftp"
log_keep_time="8"
xml_only="true"
/>
Please note that this change will affect only new created VDSs.