How to have 6 months log rotation setup for Linux & Windows servers? Print

  • 0

For servers with Plesk Panel on it:

To set the log rotation in Plesk, you can use the help of the below articles.

 

https://support.plesk.com/hc/en-us/articles/214527745-How-to-manage-log-rotation-for-a-domain-in-Plesk

https://support.plesk.com/hc/en-us/articles/214027349-How-to-change-log-rotation-settings-for-all-domains-at-once-

 

For servers without Plesk Panel on it:

You can refer to the below URLs to set the policy in Linux.

=======

https://www.digitalocean.com/community/tutorials/how-to-manage-logfiles-with-logrotate-on-ubuntu-16-04

https://www.tecmint.com/install-logrotate-to-manage-log-rotation-in-linux/

 

However, in Windows, each service creates its separate file for example in case if you want to set the rotation policy for SQL related logs, it would be managed from the SQL management studio, and for IIS (IIS Manager >> choose site >> click on logging), you can refer to the below URLs for that.

 

=====

https://kb.bytehouse.co.uk/content/3/247/en/steps-to-enable-log-rotation-&-delete-old-log-files-in-iis.html

https://stackoverflow.com/questions/54988925/sql-server-2016-log-rotation

https://itefix.net/logwot8#:~:text=Logrotate%20allows%20for%20the%20automatic,Linux%2Dlike%20environment%20for%20Windows.

=====


Was this answer helpful?

« Back