Skip to content

Instantly share code, notes, and snippets.

@mklooss
Created December 19, 2012 16:44
Show Gist options
  • Select an option

  • Save mklooss/4338152 to your computer and use it in GitHub Desktop.

Select an option

Save mklooss/4338152 to your computer and use it in GitHub Desktop.
Disable Reports in Magento
php shell/log.php clean
<?xml version="1.0"?>
<!-- app/etc/reports.xml //-->
<config>
<frontend>
<events>
<controller_action_predispatch>
<observers><log><type>disabled</type></log></observers>
</controller_action_predispatch>
<controller_action_postdispatch>
<observers><log><type>disabled</type></log></observers>
</controller_action_postdispatch>
<customer_login>
<observers><log><type>disabled</type></log></observers>
</customer_login>
<customer_logout>
<observers><log><type>disabled</type></log></observers>
</customer_logout>
<sales_quote_save_after>
<observers><log><type>disabled</type></log></observers>
</sales_quote_save_after>
<checkout_quote_destroy>
<observers><log><type>disabled</type></log></observers>
</checkout_quote_destroy>
</events>
</frontend>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment