• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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