Skip to content

Instantly share code, notes, and snippets.

@IvanChepurnyi
Created November 5, 2013 09:37
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save IvanChepurnyi/7316368 to your computer and use it in GitHub Desktop.
Save IvanChepurnyi/7316368 to your computer and use it in GitHub Desktop.
Disable Mage_Log module observers
<config>
<frontend>
<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>
</frontend>
</config>
@zpetr
Copy link

zpetr commented Dec 5, 2013

<events> tag is missed:

<config>
<frontend>
<events>
...
</events>
</frontend>
</config>

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