Plesk log rotate
Here is a query to be run against the psa database for rotating all logs for hosted Apache domains. Ensure that use issue ‘database psa’ prior to running the join
mysql> select a.*,b.name from log_rotation a join domains b on a.id=b.id where turned_on="true";