
Introduction
Magento is so complex that minor and major issues can come your way as to store administrator, as well as bother your customers. These problems are difficult to track and analyze if you are not a Magento specialist. In this short article, we will take the basics you need to know about error logging in Magento to pieces, including examining the right files and tracking problems efficiently.What is Magento Log & Why You Need It

- Blank pages;
- Pages that load partially;
- Error screens;
- Blocks missing from the pages;
- Any other unexpected page behavior.
How to Enable Logging for My Magento Store?

Dealing With Blank Pages
If a blank page happens, it probably has nothing to deal with Magento itself and the error took place in other applications, most likely by Apache/PHP. The blank page is usually a PHP fatal error. Therefore, you should check Apache logs for some clues. There is no permanent location for the ErrorLog file, but if it is there, you can always find it via command line by running phpinfo(). To make sure Apache creates logs, have log_errors enabled in the PHP settings, and error_reporting should be set to the corresponding error level.Magento Error Reports

Conclusion
Important points to remember:- Check Magento reports once in a while to make sure everything is doing great. If manual monitoring seems exhausting and gets forgotten among other administrative duties, you can use an automated solution, like the Log Monitoring extension by NEKLO. It will handle log checking for you and ensure timely email notifications about new log errors.
- For Magento 1 and Magento 2 exceptions are stored differently in logs and report folders. If you need to view other Magento errors, they are in logs.
- Magento logs do not handle fatal errors, so don’t forget to pay attention to Apache logs.