How to enable system error logging in Magento 1

How to enable system error logging in Magento 1

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.

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 Tue, Jan 29, 2019
How to set Magento file permissions
Added on Tue, Jan 29, 2019
How to create dev sites for Magento 1
Added on Wed, Jan 2, 2019
How to conserve disk space in Magento
Added on Wed, Jan 30, 2019
What are some useful Magento scripts?
Added on Wed, Jan 30, 2019
What is Turpentine?
Added on Thu, Aug 28, 2014
What is Magento?
Added on Tue, Jan 29, 2019
How to find and remove hanging Magento cron jobs with SSH
Added on Wed, Jan 30, 2019
How to set up outgoing SMTP email for Magento
Added on Thu, Jul 5, 2018
How to issue a reindex in Magento
Added on Wed, Jan 30, 2019