https://magento.stackexchange.com//questions/50046
题
我需要在模型类中的保存方法之前打印查询。是否可以?谢谢
解决方案
解决了在 lib/Varien/Db/Adapter/Pdo/Mysql.php 中启用日志所有查询的问题