How to Enable System and Exception Logging in Magento 1.6
Magento 1.6 has a powerful logging system that can be extremely helpful when debugging any issues you may have. If there's an error there is almost always an entry in the system or exceptions log. By default though, logging is not enabled. Enabling the logs in Magento 1.6 is relatively easy and is accomplished through the Magento Admin Backend.
Enabling System and Exception Logging
- Log into your Magento Admin Backend
- Go to System ->> Configuration
- Click on "Developer" in the left side menu pane
- Open the "Log Settings" section
- Change the "Enabled" to "Yes"
- Click "Save Config"
Now, any system events that are logged will be to a system.log file located in the /var/log folder. Any exceptions that are to be logged will be in a file called exception.log in the /var/log folder as well.
If you need further assistance please feel free to ask a question on our support center.
Support Center Login
Social Media Login
Troubleshooting Magento 1.6
|1.||How to Enable System and Exception Logging in Magento 1.6|
|2.||Enabling the Debug Profiler in Magento 1.6|
|3.||Fixing PHP Memory Errors in Magento 1.6|
2014-07-01 4:33 pm
If you don't have <a href="http://www.inmotionhosting.com/support/website/ssh/how-to-login-ssh" target="_blank">SSH</a> access to the server you can connect with either <a href="http://www.inmotionhosting.com/support/website/ftp/getting-started-guide" target="_blank">FTP</a> or by using the <a href="http://www.inmotionhosting.com/support/edu/cpanel/cpanel-file-manager/using-file-manager-in-cpanel" target="_blank">cPanel File Manager</a>.
The Magento exception log should be stored in the <span style="color: red;">/magento/var/log/</span> directory relative to your Magento installation, and not the server's main <span style="color: red;">/var/log/</span> directory.
2016-01-14 11:16 am
How would one go about turning on this feature from command line vs Magento backend?
2016-01-15 11:44 am
Thank you for contacting us. I spent some time looking into this, and while you can find the log files, it must still be enabled in the dashboard.