• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Plesk Windows command services_plan - log-rotate not working

nethubonline

Regular Pleskian
Hi all,

I tried to use "service_plan" command to create or update to enable log rotate , but it seems not working and I need to enable it for my service plan via Plesk web panel. Is my command wrong or something else? Thanks a lot.

plesk bin service_plan -c "Plan A" -log-rotate true -log-bytime daily -log-max-num-files 5 -log-compress true
plesk bin service_plan -u "Plan A" -log-rotate true -log-bytime daily -log-max-num-files 5 -log-compress true
 
Back
Top