alaa / magento2-events-log
Magento Events Log
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
This package is auto-updated.
Last update: 2025-03-10 12:12:34 UTC
README
Log events into var/log/events.txt
to debug and have more visibility on the observer events.
Installation
Install by composers or just download
composer require --dev alaa/magento2-events-log
To log events execute the below commands
php bin/magento alaa:events:log [area optional i.e global]
Events areas
- global
- frontend
- adminhtml
- webapi_rest
- webapi_soap
- graphql
Note
Since some events are not actually used in the events.xml files, the events logged don't wholly include all events.
For example event customer_save_after
is not used by Magento vanilla in any file, and so it is not logged when you run the command php bin/magento alaa:events:log
.
Events logged in Magento 2.4.1
theme_delete_before theme_save_after customer_address_save_before customer_address_save_after sales_quote_save_after customer_save_after_data_object clean_cache_by_tags adminhtml_cache_flush_system clean_media_cache_after clean_catalog_images_cache_after assigned_theme_changed catalogrule_after_apply adminhtml_cache_refresh_type adminhtml_cache_flush_all assign_theme_to_stores_after controller_action_postdispatch_adminhtml_system_currency_saverates controller_action_postdispatch_adminhtml_system_config_save controller_action_postdispatch_adminhtml_catalog_product_action_attribute_save controller_action_postdispatch_adminhtml_catalog_product_massstatus controller_action_postdispatch_adminhtml_system_currencysymbol_save clean_cache_after_reindex admin_user_save_after admin_user_authenticate_before magento_cms_api_data_blockinterface_save_before magento_cms_api_data_blockinterface_save_after magento_cms_api_data_blockinterface_delete_before magento_cms_api_data_blockinterface_delete_after magento_cms_api_data_blockinterface_load_after magento_cms_api_data_pageinterface_save_before magento_cms_api_data_pageinterface_save_after magento_cms_api_data_pageinterface_delete_before magento_cms_api_data_pageinterface_delete_after magento_cms_api_data_pageinterface_load_after cms_page_prepare_save magento_catalog_api_data_productinterface_save_before magento_catalog_api_data_productinterface_save_after magento_catalog_api_data_productinterface_delete_before magento_catalog_api_data_productinterface_delete_after magento_catalog_api_data_productinterface_load_after magento_catalog_api_data_categoryinterface_save_before magento_catalog_api_data_categoryinterface_save_after magento_catalog_api_data_categoryinterface_delete_before magento_catalog_api_data_categoryinterface_delete_after magento_catalog_api_data_categoryinterface_load_after magento_catalog_api_data_categorytreeinterface_save_before magento_catalog_api_data_categorytreeinterface_save_after magento_catalog_api_data_categorytreeinterface_delete_before magento_catalog_api_data_categorytreeinterface_delete_after magento_catalog_api_data_categorytreeinterface_load_after admin_system_config_changed_section_catalog catalog_product_save_before store_save_after catalog_product_save_commit_after catalog_category_prepare_save catalog_block_product_status_display catalog_product_load_after sales_quote_item_qty_set_after checkout_submit_all_after sales_model_service_quote_submit_before sales_model_service_quote_submit_success sales_model_service_quote_submit_failure sales_order_item_cancel catalog_product_save_after admin_system_config_changed_section_cataloginventory sales_quote_item_collection_products_after_load magento_catalogrule_api_data_ruleinterface_save_before magento_catalogrule_api_data_ruleinterface_save_after magento_catalogrule_api_data_ruleinterface_delete_before magento_catalogrule_api_data_ruleinterface_delete_after magento_catalogrule_api_data_ruleinterface_load_after sales_order_save_before sales_order_status_unassign sales_quote_address_collect_totals_before magento_bundle_api_data_optioninterface_save_before magento_bundle_api_data_optioninterface_save_after magento_bundle_api_data_optioninterface_delete_after magento_bundle_model_selection_save_after catalog_category_save_after catalog_product_import_bunch_save_after catalog_product_import_bunch_delete_after catalog_product_delete_before catalog_product_attribute_update_before catalog_category_save_before catalog_category_move_after store_delete sales_order_place_after sales_order_process_relation sales_order_invoice_process_relation sales_order_shipment_process_relation sales_order_creditmemo_process_relation sales_order_delete_after sales_order_invoice_delete_after sales_order_shipment_delete_after sales_order_creditmemo_delete_after admin_sales_order_address_update config_data_dev_grid_async_indexing_disabled config_data_sales_email_general_async_sending_disabled store_add cms_page_save_after sales_order_item_save_after sales_order_save_after currency_display_options_forming catalog_product_view_config catalog_product_option_price_configuration_after catalog_entity_attribute_save_before payment_cart_collect_items_and_amounts controller_action_predispatch_customer_account_loginpost controller_action_predispatch_customer_account_createpost controller_action_predispatch_customer_account_forgotpasswordpost customer_customer_authenticated customer_account_edited backend_auth_user_login_success core_layout_render_element controller_action_postdispatch_catalog_product_save model_save_commit_after customer_login customer_logout sales_order_creditmemo_save_after inventory_stock_save_commit_after sales_order_shipment_save_after sales_order_invoice_save_after controller_action_predispatch_adminhtml_order_shipment_new catalog_category_delete_before cms_page_delete_before cms_block_delete_before cms_block_save_after sales_order_payment_save_before magento_salesrule_api_data_ruleinterface_save_before magento_salesrule_api_data_ruleinterface_save_after magento_salesrule_api_data_ruleinterface_delete_before magento_salesrule_api_data_ruleinterface_delete_after magento_salesrule_api_data_ruleinterface_load_after sales_order_customer_assign_after salesrule_rule_save_after salesrule_rule_delete_after sales_quote_collect_totals_before sales_order_payment_save_after payment_method_assign_data payment_method_assign_data_vault sales_order_payment_place_end sales_order_payment_transaction_html_txn_id payment_method_assign_data_payflowpro catalog_product_delete_after catalog_category_delete_after cms_page_delete_after checkout_cart_update_items_before checkout_cart_add_product_complete admin_system_config_changed_section_payment sales_quote_product_add_after amazon_customer_authenticated amazon_login_authorize_error sales_order_load_after amazon_payment_authorize_before amazon_payment_capture_before amazon_payment_refund_before payment_method_assign_data_amazon_payment checkout_submit_before amazon_payment_pending_authorization_soft_decline_after amazon_payment_pending_authorization_hard_decline_after klarna_push_notification_order_not_found klarna_cancel_order sales_order_payment_capture klarna_prepare_merchant_urls payment_method_assign_data_braintree payment_method_assign_data_braintree_paypal payment_method_assign_data_braintree_paypal_credit payment_method_assign_data_braintree_applepay payment_method_assign_data_braintree_googlepay payment_method_assign_data_braintree_venmo payment_method_assign_data_braintree_ach_direct_debit payment_method_assign_data_braintree_local_payment sales_order_save_commit_after sales_order_invoice_save_commit_after sales_order_creditmemo_refund sales_quote_collect_totals_after controller_action_layout_render_before controller_action_predispatch controller_action_postdispatch customer_data_object_login customer_logout checkout_quote_destroy customer_login customer_customer_authenticated controller_action_noroute controller_action_nocookies catalog_product_get_final_price prepare_catalog_product_collection_prices sales_model_service_quote_submit_success catalog_product_upsell product_option_renderer_init sales_quote_collect_totals_after sales_quote_address_collect_totals_after checkout_type_multishipping_create_orders_single checkout_allow_guest controller_front_send_response_before customer_address_save_after controller_action_predispatch_contact_index_post controller_action_predispatch_customer_account_editpost sales_model_service_quote_submit_before sales_convert_order_to_quote sales_quote_merge_after checkout_onepage_controller_success_action multishipping_checkout_controller_success_action catalog_product_compare_remove_product catalog_controller_product_view sendfriend_product catalog_product_compare_add_product catalog_product_compare_item_collection_clear sales_quote_item_save_before wishlist_add_product wishlist_share controller_action_predispatch_newsletter checkout_submit_all_after checkout_controller_onepage_saveorder shortcut_buttons_container controller_action_predispatch_customer_account_loginpost controller_action_predispatch_customer_ajax_login controller_action_predispatch_customer_account_createpost controller_action_postdispatch_checkout_onepage_savebilling layout_generate_blocks_after controller_action_predispatch_persistent_index_unsetcookie controller_action_postdispatch_persistent_index_unsetcookie sales_quote_save_before custom_quote_process customer_register_success render_block update_customer_cookies persistent_session_expired checkout_cart_save_after controller_action_predispatch_customer_account_forgotpasswordpost controller_action_predispatch_newsletter_subscriber_new controller_action_predispatch_paypal_transparent_requestsecuretoken controller_action_predispatch_review_product_post controller_action_predispatch_sendfriend_product_sendmail catalog_block_product_list_collection controller_action_predispatch_review amazon_customer_authenticated kco_override_load_checkout customer_address_save_commit_after admin_permissions_role_prepare_save admin_system_config_changed_section_admin controller_action_predispatch cms_wysiwyg_images_static_urls_allowed catalog_category_change_products category_move catalog_product_get_final_price catalogrule_dirty_notice customer_save_after_data_object catalog_product_edit_action catalog_product_new_action catalog_product_to_website_change catalog_product_delete_before catalogrule_before_apply catalogrule_after_apply catalog_product_save_after admin_user_authenticate_after admin_user_save_after product_attribute_form_build_main_tab controller_front_send_response_before adminhtml_catalog_product_edit_prepare_form adminhtml_catalog_product_form_prepare_excluded_field_list adminhtml_product_attribute_types adminhtml_catalog_product_edit_element_types controller_action_predispatch_adminhtml_auth_forgotpassword controller_action_predispatch_customer_account_forgotpasswordpost catalogsearch_query_save_after sales_model_service_quote_submit_before sales_convert_order_to_quote sales_convert_order_item_to_quote_item controller_action_inventory_populate_stock_with_data controller_action_catalog_product_save_entity_after admin_system_config_changed_section_cataloginventory product_attribute_form_build_front_tab product_attribute_grid_build adminhtml_cache_flush_system controller_action_predispatch_adminhtml catalog_product_save_before catalog_product_delete_after_done admin_system_config_changed_section_newrelicreporting catalog_entity_attribute_delete_after catalog_entity_attribute_save_after payment_method_is_active catalog_product_gallery_prepare_layout admin_user_authenticate_before catalog_product_get_final_price prepare_catalog_product_collection_prices sales_model_service_quote_submit_success sales_quote_collect_totals_after sales_quote_address_collect_totals_after customer_login sales_model_service_quote_submit_before sales_quote_item_save_before customer_data_object_login customer_logout layout_generate_blocks_after customer_customer_authenticated sales_quote_save_before custom_quote_process customer_register_success render_block update_customer_cookies catalog_product_get_final_price prepare_catalog_product_collection_prices sales_model_service_quote_submit_success sales_quote_collect_totals_after sales_quote_address_collect_totals_after customer_login sales_quote_item_save_before customer_data_object_login customer_logout layout_generate_blocks_after customer_customer_authenticated sales_quote_save_before custom_quote_process customer_register_success render_block update_customer_cookies catalog_product_get_final_price prepare_catalog_product_collection_prices sales_model_service_quote_submit_success payment_method_assign_data_payflow_link payment_method_assign_data_payflow_advanced payment_method_assign_data_payflowpro