• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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