• 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.

Resolved Change system logrotate

uniauto

Basic Pleskian
Hi.

I missundertood one option in Plesk and checked it (Server settings->Force daily log rotations for all domains).
I unchecked it and manually fixed all domains web logs, but i noticed some system logs changed to daily rotation (fail2ban, maillog, apache2, nginx,....).

Is there a way using Plesk to change it back to monthly? or the only way is editing all files in /etc/logrotate.d/ & /usr/local/psa/etc/logrotate.conf?
 
Hello,
There is no way to revert such changes unfortunately but you can set the rotation period to 30 days on Server Settings page.
 
Thank for answer.
I dont like daily rotation because it create a lot of files.
I want to keep some logs for 2years (740 files each log with daily rotation).
I fixed it manually.
 
Back
Top