Magento Disable Logging Without Editing Core Files

If you want to disable Magento’s logging functioality (which can cause a lot of issues due to very large tables being generated and the overhead associated with that) then this is a possible solution.

You can disable events by putting some special XML in your app/etc/local.xml file.

This file does not get touched by upgrades (AFAIK) and the effects should kick in as soon as the configuration cache is cleared and rebuilt.

    <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>