• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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