(dv) Configuring log rotation
Overview
All connections to the Web server and requests for files that were not found on the server are registered in log files. These log files are analyzed by the statistical utilities running on the server, which then present graphical reports on demand. You may want to download these log files to your computer for processing by third-party statistical utilities, or view their contents for web server debugging purposes.
To prevent these log files from growing too large, you should enable automatic cleanup and recycling of log files.
Instructions
-
Log into the Plesk Control Panel for your domain. See Figure 1:

Figure 1. The Plesk Control Panel. Click for a larger view.If you log into Plesk with the admin user, you will be in the Server Administration Panel by default. To get to the Control Panel, click on Domains, then on the Control Panel link next to your domain.
You can also create a user that will log into the Control Panel by default, which will save you a few clicks on day-to-day webmaster tasks. See Control Panel user.
-
From the Home page, click on Websites & Domains. See Figure 2:

Figure 2: Click on the "Websites & Domains" tab. - Click on Show Advanced Operations.
-
Select Logs, see Figure 3:

Figure 3. -
Click on the [View] link to the right of your domain, see Figure 4:

Figure 4. -
Under Tools, click on the Log Rotation icon, see Figure 5:

Figure 5. -
If you see only Switch off there, this means that log recycling is already enabled. You may make any edits to your settings, then click "OK" to save your changes. See Figure 6.

Figure 6.
End of Life Warning
This service has a pending End of Life. Please move to a current service as soon as possible. For more information, please see: (dv) Dedicated-Virtual 4.0: Migration Information.
Instructions
- Log into Plesk.
- Go to Domains > example.com > Log Manager > Log Rotation and click Switch On. If you see only Switch off there, this means that log recycling is already enabled.
- Specify when to recycle log files and how many instances of each log file to store on the server. Also specify whether they should be compressed and sent to an e-mail address after processing. Click OK.