Pages

Mage::log : Magento Log Test

Save below file as test.php into the root folder and run with cmd finally check the log file

 <?php

require 'app/Mage.php';

Mage::app();

Mage::log('Hy observer called', null, 'obZ_logfile.log');

?>

No comments:

Post a Comment