Help Center/ Blockchain Service/ User Guide (ME-Abu Dhabi Region)/ FAQs/ BCS FAQs/ O&M and Monitoring/ How Do I Clear Residual Log Files After a BCS Service Is Deleted?
Updated on 2023-03-02 GMT+08:00

How Do I Clear Residual Log Files After a BCS Service Is Deleted?

After a BCS service is deleted, log files are not automatically deleted from the cluster nodes. You are advised to manually delete the residual files to save space.

Use the remote management tool to log in to each cluster node used by the deleted BCS service, and check whether there are residual log files in the following paths:

/var/paas/sys/log/baas-agent
/var/paas/sys/log/baas-restapi
/var/paas/sys/log/baas-service

If residual log files exist, run the following command to delete them:

rm -rf /var/paas/sys/log/baas-agent /var/paas/sys/log/baas-restapi /var/paas/sys/log/baas-service