How do I view Apache logs?

Can’t find your guide? Click a button to navigate straight there!


Apache logs in Plesk

Within Plesk’s apache logs browser feature there are a few different types of apache logs. Each log type has a distinct purpose and if utilised correctly can help troubleshoot any server problems that might arise. You might be trying to track down the reason a site has suddenly gone down. Checking the log type below will determine the cause.

  • Apache error (error_log). This log contains diagnostic information. It also records any errors that the Apache webserver encounters in processing requests.

For a full list of the different log types available please visit Plesk’s information page.

  • Loing to you Plesk control panel, you can do this directly via the URL or from your client area.
  • From your control panel, click Websites & Domains.
Websites and Domains in Plesk
Websites & Domains
  • Each domain within you Plesk subscription should be separated each with its own Logs icon.
    For your intended domain click the logs icon.
Logs shown in Plesk domain area
Logs area in Plesk domains area.
  • This will show all the log entries selected logs.
Log view in Plesk
Log View
  • You can manage what logs are being shown via the drop down menu. However, in most cases this won’t be required.
Log view with drown menu
Logs drop-down Menu

Logs in cPanel

cPanel offers logs through the Raw Access tool in the metrics section. Logs are displayed in a table and reference every domain on that cPanel account.

With both SSL and non SSL versions shown. There are also, archived versions of these logs available you can see these in monthly increments, contained within tar.gz files.

  • Firstly, login to your cPanel control panel and navigate to the metrics section.
  • Once you are in the Metrics area click, Raw Access.
Raw access in the cpanel metrics section
Raw Access
  • From here you can configure Logs. And, view both current and archived logs
Raw access logs page in cPanel
Raw access logs page