Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mage::log doesn't print in system.log in Magento

Tags:

magento

my Mage::log() are never displayed in system.log

  • I did SetEnv MAGE_IS_DEVELOPER_MODE "true" in htaccess and check it's ok in Magento/index.php
  • I enabled to yes the dev log settings and check in database it's well done
  • my magento/var/log folder and system.log are set to 777

Did I forget something ?

Magento ver. 1.12.0.2

like image 517
Robert Avatar asked Feb 28 '13 12:02

Robert


People also ask

How do I view log files in Magento 2?

The log files are located in the <magento-folder>/var/log/ folder. If you do not find the log files here, check if the folder is given the writing permission. If not, the web servers won't be able to create the log files.


2 Answers

Check in your webserver's temp directory. If the application cannot write to ./var/log/, this is where it ends up.

like image 147
benmarks Avatar answered Oct 06 '22 02:10

benmarks


It was indeed a chmod story I did one little (magento/) chmod -R 777 var/ and all was fixed

like image 27
Robert Avatar answered Oct 06 '22 03:10

Robert