First, you need to log in to your Plesk control panel. Refer below link
https://www.srilankahosting.lk/knowledgebase-new/getting-started-with-plesk/
The parameters located in the Logs & Statistics tab of the Service Plans -> Select a Plan section define how statistics and logs of a subscription should be stored.
Note: These settings within subscriptions are not synchronized with the settings in service plans.
.png)
Retain web and traffic statistics
- It sets a period, measured in months, during which reports on the subscription’s web statistics (generated by the selected web statistics component) and traffic statistics (generated by Plesk) will be available.
Log rotation
- It enables automatic cleanup and recycling of web server log files, and also allows you to turn on compression of processed log files and sending them to a specific email address.
