In this article, I am going to guide you how to solve/workaround clear these logs automatically
I noticed that one of the cloud director cells was inactive in the portal.
I did login via ssh to the cell and found out that the /dec/sda3 was full and had no space left.
checking for logs file
cd /opt/vmware/vcloud-director/logs/
ls -lah
there is a lot of request.log file
deleting requset.logs file to clean up space.
rm -r *request.log
/dev/sda3 director was full this was due to the request.log not clearing. To clear these logs automatically please run the following on all cells:
- edit the global.property file on each cell and add the following line vcloud.http.log.retainDays=<desired number of days>
- vi /opt/vmware/vcloud-director/etc/global.properties
- add vcloud.http.log.retainDays=<desired number of days>
After this change please reboot each cell so that the configuration is applied.
I hope this article has been informative. thank you for reading.