Log Files

All connections to the web server and requests for files that were not found on the server are registered in log files. The following log files are manageable by Plesk:

Log files are analyzed by the statistics programs running on the server, which then present graphical reports on demand. You can download these log files to your computer for processing by third-party statistics programs, 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:

  1. If you have access to several subscriptions, select the required subscription in the Subscription box at the top of the screen. Or, to view sites of all your subscriptions, select All subscriptions.
  2. Go to the Websites & Domains tab > Logs > Log Rotation.
  3. Check the Log rotation checkbox.
  4. Specify when to recycle log files and how many copies of each log file to store on the server. Also specify whether they should be compressed and sent to an email address after processing.
  5. Click OK.

To view the contents of a log file or download it to your computer:

  1. If you have access to several subscriptions, select the required subscription in the Subscription box at the top of the screen. Or, to view sites of all your subscriptions, select All subscriptions.
  2. Go to the Websites & Domains tab > Logs. A list of log files opens.
  3. Do any of the following:

To download log files to your computer via FTP:

  1. Connect to the Plesk server via FTP.
  2. Go to the /var/www/vhosts/<domain_name>/logs directory and copy the log files to you computer.