How to Setup Log rotation settings in Plesk?

Plesk rotates logs using the logrotate utility. You can define log rotation parameters for Plesk services in general and for each domain separately. To make working with log files more convenient, you can include the file creation date into the names of rotated log files. If you do this, the names of rotated log files will have the following format <log_name>.processed-YYYYMMDD.gz, where <log_name> is the name of the log file before rotation, like error_log or httpsd_access_log, and YYYYMMDD is the date of the log rotation. For example, error_log.processed-20130101.gz.

Kindly use the below procedure to Setup Log rotation settings in Plesk

[1] Log in to Plesk panel.
[2]  Click on the option ‘Websites and Domains’.
[3]  Click the icon ‘Logs’ under the domain for which you want to change log rotation settings.
[4] Click the icon on the top right and click ‘Manage Log Files’.
[5]  Click the button ‘Log Rotation’.
[6]  The Plesk pop-up window will give you a few different options for managing log rotation. Change the log rotation configuration if needed. If you have a high traffic site, you can use “By size” setting rather than “By time” settings.