Contact
Site: US UK AU |

How to enable system error logging in Magento 1.x

How to enable system error logging in Magento 1.x

It is possible to configure Magento to generate system logs and exception logs upon any error. This is most useful as a way to investigate issues during development, but less practical for live stores for anything other than short-term use.

Attention: Enable the logging feature only for as long as necessary. If left enabled for a prolonged period, these logs will occupy significant disk space and slow down your site.

Method

This method stores system and exception logs in Magento’s var/log/ directory.  

  1. Log in to your Magento Admin Panel. From the dashboard, select System > Configuration.

  2. Scroll to the ADVANCED section, then click Developer.

  3. Expand the Log Settings section. In the Enabled drop-down list, select Yes. If desired, change the default settings for System Log File Name and Exceptions Log File Name. Click Save Config when ready.

  4. Return to the ADVANCED section, then click System.

  1. Expand the Log section, then:

    1. From the Enable Log drop-down list, select Yes.

    2. In the Save  Log, Days field, enter 30.

    3. From the Enable  Log  Cleaning drop-down list, select Yes.

    4. In the Start Time drop-down lists, set a start time well within your slowest business hours.

    5. In the Frequency drop-down list, select Weekly.

    6. Click Save Config when ready.

 

For 24-hour assistance any day of the year, contact our 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 configure the Magento Product Importer (Magmi)
Added on Mon, Jan 26, 2015
How to back up your Magento 1 store
Added on Thu, Oct 18, 2018
How to protect your Magento store from the Credit Card Hijack exploit
Added on Tue, Nov 22, 2016
How to enable CAPTCHA for user creation in Magento 1.x
Added on Fri, Aug 18, 2017
How to improve the security of your Magento store
Added on Wed, Nov 12, 2014
How to patch your Magento store
Added on Mon, Jan 11, 2016
How to patch your Magento 1 store
Added on Thu, Oct 18, 2018
How to configure CDN access for Magento
Added on Wed, May 16, 2018
How to enable the Magento profiler
Added on Thu, Feb 25, 2016
How to issue a reindex in Magento
Added on Fri, Nov 15, 2013