Instantly share code, notes, and snippets.

Embed
What would you like to do?
Magento disable logs and reports
<frontend>
<events>
<!-- logs -->
<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>
<!-- reports -->
<catalog_product_compare_remove_product>
<observers><reports><type>disabled</type></reports></observers>
</catalog_product_compare_remove_product>
<customer_logout>
<observers><reports><type>disabled</type></reports></observers>
</customer_logout>
<catalog_controller_product_view>
<observers><reports><type>disabled</type></reports></observers>
</catalog_controller_product_view>
<sendfriend_product>
<observers><reports><type>disabled</type></reports></observers>
</sendfriend_product>
<catalog_product_compare_add_product>
<observers><reports><type>disabled</type></reports></observers>
</catalog_product_compare_add_product>
<catalog_product_compare_item_collection_clear>
<observers><reports><type>disabled</type></reports></observers>
</catalog_product_compare_item_collection_clear>
<sales_quote_item_save_before>
<observers><reports><type>disabled</type></reports></observers>
</sales_quote_item_save_before>
<wishlist_add_product>
<observers><reports><type>disabled</type></reports></observers>
</wishlist_add_product>
<wishlist_share>
<observers><reports><type>disabled</type></reports></observers>
</wishlist_share>
</events>
</frontend>
@surfer190

This comment has been minimized.

surfer190 commented Sep 20, 2016

Are you sure this doesn't go in config.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment