How to Configure Admin Action Log In Magento 2
Magento 2 includes an Admin Action Log feature that helps store owners track all actions performed by administrators. This feature improves security and accountability by logging changes made in the backend. In this guide, we’ll show you how to enable and configure it.
This feature was removed starting from Magento 2.4.6. If you’re using Magento 2.4.6 or later, you’ll need a third-party module to enable admin action logging.
Steps to Configure Admin Action Log In Magento 2
1. Enable Admin Action Logging
Log in to the Magento Admin Panel.
Navigate to Stores > Settings > Configuration. Under Advanced, select Admin.
Expand the Admin Actions Logging section and set Enable Admin Action Logging to Yes.

Click Save Config and clear the cache.
2. View Admin Action Logs
To review logged actions:
Go to System > Action Logs > Report.

3. Configure Logging Details
Magento allows you to specify which actions should be logged:
In Stores > Settings > Configuration > Admin, navigate to Admin Actions Logging.
Choose which activities to track, such as:
- Configuration Changes
- User Management
- Product & Category Updates
Click Save Config to apply changes.
4. Clear and Manage Logs
Magento retains logs for a set period to prevent excessive database storage usage. You can adjust log retention settings:
Go to Stores > Settings > Configuration > Advanced > System.
Under Admin Action Logs Lifetime, define the number of days logs should be kept.
Save changes and clear the cache if needed.
Enabling and managing Admin Action Logs in Magento 2 is essential for security and monitoring backend activities. By tracking changes, you can improve transparency, troubleshoot issues, and prevent unauthorized modifications.
Follow us for the more helpful posts!
We hope this is a useful post for you.
You can read more useful posts like How to Create URL Rewrites in Magento 2.
Thank you for reading!