1. Home
  2. Support
  3. Scripting
  4. Magento Error Logging

Magento Error Logging

By default, Magento does not register messages about errors and exceptions; so if something bad happens, you don’t even know.

The first step to debugging any problem Magento is to enable and check the Magento logs and this quick guide shows you how to do that with your Magento hosting.

Steps to enable Magento error logs:

  1. Login to your Magento administration.
  2. Navigate to System > Configuration > Developer > Log Settings
  3. Set Enable = ‘Yes’

Steps to view Magento error logs:

By default Magento will store its log files within var/log/ relative to your domain directory.
There are 2 log files located within /var/log:

  • system.log
  • exception.log

These 2 files can be viewed using the following methods.

Method 1:

  1. Login to your FTP account. This can be done through your FTP Client or Webshell.
  2. Find the Magento installation located in your domain.
  3. Navigate to the /var/log directory within your domain.
  4. Download and view the Magento log files within a text editor of choice.

Method 2:

  1. Login to your Hosting control panel.
  2. Locate the FTP file manager under FTP/User Account > FTP User.
  3. Login to Webshell
  4. The online file manager will open in a new Window, simply browse to and click the file within the left window, then click VIEW within the right window.

That’s it you should now be able to view any errors that might be occuring.

As always, if you have any questions please leave them in the comment section below

Was this article helpful to you?