WP_DEBUG log grows without rotation obscuring recent deployment errors
Goal: maintain a usable WP_DEBUG log that captures recent errors during theme or plugin deployment without being overwhelmed by historical data. Constraint: WordPress writes to wp-content/debug.log indefinitely, with no internal rotation or size limit, so administrators must rely on external processes to prevent the file from growing unchecked and hiding rec