Manish Prakash Staff asked 1 year ago

More details about this can be found here
http://excellencemagentoblog.com/blog/2015/05/20/magento-events-and-observers/

In short:

<global>
        <events>
            <log_log_clean_after> <!-- event name -->
                <observers>
                    <catalog_product_compare_item>  <!-- unique event code -->
                        <class>catalog/observer</class>
                        <method>catalogProductCompareClean</method>
                    </catalog_product_compare_item>
                </observers>
            </log_log_clean_after>
        </events>
</global>