Log Cleanup
The log cleanup feature is used to scan and clean up log files generated by the system and applications to free up disk space.

Feature Overview
The top of the page provides batch operation buttons:
- Scan All: Scan all types of logs
- Clean All: Clean all scanned logs
Log Types
Panel Logs
Log files generated by panel operation.
- Click Scan to check log size
- Click Clean to delete log files
Website Logs
Website access logs and error logs, including:
- Nginx access logs (access.log)
- Nginx error logs (error.log)
- Individual logs for each website
Tip
Website logs are usually the largest type of logs, it is recommended to clean them regularly.
MySQL Logs
Log files for Percona/MySQL/MariaDB databases:
- Slow query log
- Binary log (binlog)
- Error log
Note
Binary logs are used for data recovery and master-slave replication, please confirm they are no longer needed before cleaning.
Docker
Docker-related logs and unused resources:
- Container logs
- Unused images
- Build cache
System Logs
System-level log files:
- systemd journal logs
- System logs under
/var/log - Kernel logs
Usage
- Click the Scan button for each type to view log space usage
- Confirm the log types to clean
- Click the Clean button to delete logs
Or:
- Click Scan All to scan all logs at once
- View the usage of each type
- Click Clean All to batch clean
Notes
- Cleanup operations are irreversible, please confirm logs are no longer needed
- Important logs should be backed up first
- In production environments, it is recommended to keep recent logs for troubleshooting
