Wednesday, 17 November 2010

Managing Log Files and Log Rotation

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:



  • 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:

  1. Click the  Log Rotation icon on the Log Files Management page. The Log Rotation Preferences page will open:

  2. Click the  Enable or  Disable icon respectively to enable/disable log rotation.

  3. Select the log rotation condition:                                                                                      a)  log file size - enter the size in kilobytes in the appropriate field.

  4. 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.

  5. Select the Compress log files checkbox to enable compression.

  6. 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.

  7. Click OK to submit changes.

No comments:

Post a Comment