• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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