• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Setting logrotate configuration on all domains

J

jplotzke

Guest
Hi,

I'd like to change the log rotation settings for all domains on my server -- Is there a way (maybe through the CLI?) to do it for all domains at once? I don't see a server-wide default setting anywhere, just in each domain's settings. I assume it's not as easy just modifying all of the logrotate.d files for each domain as I'm guessing that Plesk also stores the information in the db to be able to re-create all of those files.

Thanks for any help you can provide!
 
Don't know about 9.5 but if you go to Domains, Select All entries so you get all domains on one page, select the checkbox at the top of the list that selects all and then click the "Make Similar Changes to multiple domains at once" you can change it there - make sure you enable log rotation as well as set the settings though or it will not work :p

Hope that is of some help.
 
Back
Top