phpmagentoerror-log

Where are Magento's log files located?


I am new to Magento. I can't find log files in Magento. I googled it, but the Magento Commerce site returns closed and some other sites explain how to create custom log files. I want to know the location of built-in log files.


Solution

  • You can find them in /var/log within your root Magento installation

    There will usually be two files by default, exception.log and system.log.

    If the directories or files don't exist, create them and give them the correct permissions, then enable logging within Magento by going to System > Configuration > Developer > Log Settings > Enabled = Yes