Where are Magento's log files located?

IamGhale picture IamGhale · Jun 13, 2014 · Viewed 138.4k times · Source

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.

Answer

Karl picture Karl · Jun 13, 2014

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