Contact
Site: US UK AU |

How to view website error and access logs

How to view website error and access logs

Overview
This article explains how Nexcess clients can use SiteWorx or SSH to view error and access logs.

Using SiteWorx

  1. Log in to your SiteWorx account.

  2. On the main menu, click Administration > Logs (Figure 1).

    Figure 1. SiteWorx main menu; Administration > Logs.

  3. If necessary, select the desired log group from the Select Log Group drop-down list, then click Continue (Figure 2). 

    Figure 2. Select Log Group drop-down list with Web Server Logs and PHP Error Log options.

  4. To download the log file, click Download (Figure 3).

    Figure 3. Log Settings panel; Download button.

Using SSH

Issue the following commands to view error and transfer logs from the server using SSH:

Attention: Apache error and transfer logs are stored differently in cluster environments.

less /home/username/var/domain.com/logs/error.log
less /home/username/var/domain.com/logs/transfer.log

You can also issue the following to view the PHP-FPM error logs:

less /home/username/var/php-fpm/error.log

For 24-hour assistance any day of the year, contact the Nexcess Support Team by email or through the Client Portal.

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How to set up Google Webmaster Tools
Added on Tue, Apr 19, 2016
How to conserve disk space in Magento
Added on Fri, Jan 17, 2014
How to view website statistics with SiteWorx
Added on Mon, Aug 5, 2013
What is Hindsight?
Added on Tue, Jun 12, 2018