Sunday, February 8, 2015

Turn on logging in Magento

System > Configuration > Developer tab > Log Setting > Enabled Yes.

To output the log to var/log/system.log:

Mage::log(print_r(get_class($_product),true));

Mage::log(print_r(get_class_methods($_product),true));

No comments: