- Plesk for Windows
Cannot set "-log-bytime" log rotation option for a service plan via CLI. For example, it still remains set to "weekly" in Plesk > Service Plans > Example Plan > Logs & Statistics after running the following command:
C:\> plesk bin service_plan.exe -u "Default Domain" -log-bytime daily
This is Plesk bug with ID PPPM-7574 which was fixed in Plesk Onyx 17.8 micro-update 9.
For Plesk Onyx 17.8, install the latest Plesk micro-updates .
For Plesk Onyx 17.5 and earlier Plesk versions, consider upgrading to the latest Plesk version .
As a workaround, specify "Daily", "Monthly", "Weekly" with upper-case. For example:
C:\> plesk bin service_plan.exe -u "Default Domain" -log-bytime Daily