Skip to content

Instantly share code, notes, and snippets.

@magentogirl
Last active January 8, 2019 11:32
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save magentogirl/e8dc6aa7c74d021f85cc to your computer and use it in GitHub Desktop.
Save magentogirl/e8dc6aa7c74d021f85cc to your computer and use it in GitHub Desktop.
config.xml to disable Magento Logging
<?xml version="1.0"?>
<config>
<frontend>
<events>
<!--disable 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>
</events>
</frontend>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment