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 issue a reindex in Magento
Added on Fri, Nov 15, 2013
How to find and remove hanging Magento cron jobs with SSH
Added on Thu, Oct 30, 2014
How to purchase Nexcess shared hosting plans
Added on Mon, Jan 4, 2016
What are the benefits of dedicated IP addresses?
Added on Thu, Jan 14, 2016
How to disable maintenance mode in Magento
Added on Fri, Dec 15, 2017
How to install Magento CE v1.8 and later
Added on Thu, Mar 6, 2014
How to set up outgoing SMTP email for Magento
Added on Thu, Jul 5, 2018
How to enable CAPTCHA for user creation in Magento 1.x
Added on Fri, Aug 18, 2017
How to improve Magento maintenance mode
Added on Mon, Feb 24, 2014
How to flush your Magento cache
Added on Tue, Mar 1, 2016