Skip to content

Instantly share code, notes, and snippets.

@ajbonner
Created September 3, 2012 10:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajbonner/3608447 to your computer and use it in GitHub Desktop.
Save ajbonner/3608447 to your computer and use it in GitHub Desktop.
Snippet showing how to disable Magneto's Database Logging Events
<config>
...
<global>
...
<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>
</global>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment