Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Disable Magento Logging observers & unused Core Modules via XML
<?xml version="1.0"?>
<config>
<frontend>
<events>
<!-- disble 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>
<!-- disable reports -->
<catalog_controller_product_view>
<observers><reports><type>disabled</type></reports></observers>
</catalog_controller_product_view>
<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>
<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>
<sales_quote_item_save_before>
<observers><reports><type>disabled</type></reports></observers>
</sales_quote_item_save_before>
<sendfriend_product>
<observers><reports><type>disabled</type></reports></observers>
</sendfriend_product>
<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>
<!-- Disable unused modules -->
<modules>
<Find_Feed>
<active>false</active>
</Find_Feed>
<Phoenix_Moneybookers>
<active>false</active>
</Phoenix_Moneybookers>
<Mage_XmlConnect>
<active>false</active>
</Mage_XmlConnect>
<Mage_GoogleCheckout>
<active>false</active>
</Mage_GoogleCheckout>
<Mage_Usa>
<active>false</active>
</Mage_Usa>
<Mage_Authorizenet>
<active>false</active>
</Mage_Authorizenet>
<Mage_Backup>
<active>false</active>
</Mage_Backup>
<Mage_Centinel>
<active>false</active>
</Mage_Centinel>
<Mage_Compiler>
<active>false</active>
</Mage_Compiler>
<Mage_Giftmessage>
<active>false</active>
</Mage_Giftmessage>
<Mage_PaypalUk>
<active>false</active>
</Mage_PaypalUk>
<Mage_Persistant>
<active>false</active>
</Mage_Persistant>
<Mage_Weee>
<active>false</active>
</Mage_Weee>
<Mage_Productalert>
<active>false</active>
</Mage_Productalert>
<Mage_Tag>
<active>false</active>
</Mage_Tag>
</modules>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.