• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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