Each site currently generates four log files that continue to grow without restriction. To prevent excessive disk usage and maintain system stability, please enable log rotation with appropriate size limits and retention policies.
### Affected Log Files:
* `/app/logs/debug.log` (WordPress debug log) * `/logs/nginx/access.log` * `/logs/nginx/error.log` * `/logs/php/error.log`
### Suggested Actions:
* Implement log rotation via `logrotate` or an equivalent mechanism. * Set reasonable size limits (e.g., 100MB) and a retention policy (e.g., keep 7 rotated files). * Ensure that log rotation includes compression and automatic cleanup of old logs.
This will help manage disk space and improve maintainability across environments.