Overview
The log browser helps you troubleshoot your websites by analyzing the web server logs and displaying relevant warnings and error messages in the Plesk user interface.
The following log files are available:
- Apache Access (access_log). This log records all HTTP requests processed by the Apache web server.
- SSL/TLS Access for Apache (access_ssl_log). This log records all HTTPS requests processed by the Apache web server.
- Apache Error (error_log). This log contains diagnostic information and records all errors detected while processing requests by the Apache web server.
- nginx Access (proxy_access_log). This log records all HTTP requests processed by the nginx proxy web server.
- SSL/TLS Access for nginx (proxy_access_ssl_log). This log records all HTTPS requests processed by the nginx proxy web server.
-
nginx Error (proxy_error_log). This log contains diagnostic information and records all errors detected while processing requests by the nginx proxy web server.
Accessing the Log Browser
The log files are accessible via the advanced options of the respective domain.
- Log in to the Plesk admin panel. (Forgot password?)
- Make sure you are on the Websites & Domains tab.
- Open the advanced options by clicking "Show More".
Then click on 'Logs'
You will now see an overview with information from the Access Log and the Error Log.
By default, the log browser displays the current messages from the monitored logs as soon as the browser is opened. If you want to refresh the message list afterwards, click Refresh. Alternatively, if you want new messages to appear immediately in the list, click Start Real-Time Refresh.
Accessing the Log Files
Click Manage Log Files to see additional functions related to the log files.
The log entries can now be viewed directly through Plesk or downloaded (green arrow).
Clicking on a log file opens a browser window with its contents. If no window opens, please check if a pop-up blocker is active.
Configuring Log Rotation
Since these log files also contribute to the disk space used by an account or domain, it is definitely recommended to enable rotation, i.e., regular deletion of log files. To do this, please select the Log Rotation option:
With the “Log Rotation” button, you determine whether old log files should be deleted at all. Since these data also contribute to the disk space used by an account or domain, it is definitely recommended to enable rotation, i.e., regular deletion of log files. Additionally, the log files can be compressed and limited in number, which can further save disk space (options Compress log files and Maximum number of log files).
Typically, keeping logs for one month as a condition for log rotation makes sense. If needed, copies of the log files can also be sent to an email address.