Clean Logs
Introduction to how to clean service logs and database logs.
Clean Service Logsâ
# View split table logs of specific service
$ climc logs-show --service <service_type> splitable

# Delete split tables older than 6 months
$ climc logs-purge-splitable --service <service_type>

Clean Database Logsâ
Execute on the server where the database (mariadb) is deployed:
# Set automatic binlog cleanup retention time
$ vi /etc/my.cnf
expire_logs_days = 30
Then restart the database service to make the configuration take effect.
systemctl restart mariadb
