Plesk allows managing log files and log rotation settings from the control panel. To access these functions, click the Log Manager icon on the Domain Administration page. The Log Manager page will open:
At this page, you can perform the following operations:
Define the number of log file's lines to be displayed at once. To do that, type in the number of lines in the Lines of log file to be displayed input field prior to selecting a log file for viewing.
View a log file. To this effect, click on a log file's name in the list. The log file contents will be displayed in a separate Log File Viewer window.
Save a log file on your local machine. To do that, click on the appropriate icon. After that you will need to specify the location on your local machine and the file name for the downloaded log file to be saved, and then click Save.
Delete log files. To this effect, select the corresponding checkboxes, and click Remove Selected.
To configure the log rotation preferences, follow these steps:
Click the Log Rotation icon on the Log Files Management page. The Log Rotation Preferences page will open:
Click the Enable or Disable icon respectively to enable/disable log rotation.
Select the log rotation condition:
Specify the maximum number of log files in the appropriate input field, if desired. The maximum number is the number of processed files to be kept for each log file.
Select the Compress log files checkbox to enable compression.
If desired, in the Send processed log files to e-mail input field, enter the e-mail address, for the processed log files to be delivered to.
Click OK to submit changes.