For servers with Plesk Panel on it:
In order to set the log rotation in Plesk you can use the help of 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 incase if you want to set the rotation policy for SQL related logs it would be manage 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 article helpful?
Cancel
Thank you!