How to enable system and exception logging in Magento

Magento has a very powerful logging system that can be extremely useful when debugging any issues you have. By default Magento does not record any messages about errors and exceptions; so if something bad happens, you don’t have idea.

Logs enabling in the Magneto is very easy,You can follow the steps given below:

  1. Login to your Magento admin backend
  2. Go to System ->> Configuration
  3. Click on “Developer” in the left side menu selection
  4. Open the “Log Settings” section
  5. Change the Enabled to “YES”
  6. Click “Save Config”

Now set full access permissions (777) to the following folder: /var/log, since that is the place where those log files are stored.

 

Leave a Reply

Your email address will not be published. Required fields are marked *