Admin Action Logs for Magento 2
A searchable audit trail of every admin change, with one-click restore of edits and deleted records, login alerts and active sessions.
Why choose Admin Action Logs?
When several people manage a store, nobody can say who changed a price, disabled a product or deleted a CMS block, let alone undo it. Admin Action Logs records every create, edit, delete and mass action across 24 types of records, with the admin user, time, IP address, page and the old and new value of every field. A Restore button writes the old values back through Magento, deleted records come back with the same ID, and you also get a log of login attempts with email alerts, each admin's page visit history and a list of active sessions you can end remotely.
Key features
- Audit trail of admin actions
- 24 record types
- Old and new values
- One-click restore
- Restore deleted records
- Login attempts log
- Login email alerts
- Page visit history
- Active sessions and logout
- CSV and Excel export
- Automatic log cleanup
At a glance
| Module name | Mage2Expert_ActionLogs |
|---|---|
| Composer package | mage2expert/module-action-logs |
| Settings | Stores › Configuration › Magento Expert › Admin Action Logs (14 options) |
| Admin menu | System › Admin Action Logs › Action Log System › Admin Action Logs › Active Sessions System › Admin Action Logs › Configuration System › Admin Action Logs › Login Attempts System › Admin Action Logs › Page Visit History |
| Per store view settings | No (global or website level) |
| API | No custom endpoints (uses Magento's standard APIs) |
| Scheduled jobs | 1 cron job |
| PHP | 8.1, 8.2, 8.3, 8.4, 8.5 |
Installation
After purchasing on the Adobe Commerce Marketplace, install it with Composer using your Marketplace access keys:
composer require mage2expert/module-action-logs
bin/magento module:enable Mage2Expert_ActionLogs
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
Skip setup:di:compile and static-content:deploy if your store runs in developer mode.
Configuration reference
All 14 options under Stores › Configuration › Magento Expert › Admin Action Logs, grouped as they appear in the admin.
General Settings 4
| Setting | Description |
|---|---|
| Enable Admin Action Logs | Records the changes admin users make, their login attempts and (optionally) the admin pages they visit. When set to No nothing new is recorded and no login emails are sent. Logs already saved stay available under System > Admin Action Logs. |
| Select Objects to Log | Changes are recorded only for the selected types of records. |
| Restore Settings Warning Text | Shown in the confirmation popup before a change is restored. |
| Save Page Visit History | Records every admin page each admin user opens and how long they stayed on it. |
Log Cleaning 3
| Setting | Description |
|---|---|
| Automatically Clear Action Logs After (Days) | |
| Automatically Clear Login Attempts After (Days) | |
| Automatically Clear Page Visit History After (Days) |
Email Notification Settings 7
| Setting | Description |
|---|---|
| Send Email on Successful Login | Sends an email every time an admin user signs in. |
| Send Email on Failed Login | Sends an email every time someone fails to sign in to the admin panel. |
| Email Sender | |
| Send Email To | Main admin email address. Separate several addresses with commas. Leave empty to use the General Contact email. |
| Send Email Copy To | Admin users who also receive a copy of the login emails. |
| Login Success Email Template | |
| Login Failure Email Template |
Developer reference
Cron jobs
| Job | Runs |
|---|---|
mage2expert_actionlogs_clean | daily at 02:30 (server time) |
Frequently asked questions
How much does Admin Action Logs cost?
Which Magento and PHP versions are supported?
Where do I configure Admin Action Logs?
Can I switch it off without uninstalling it?
Does it run background jobs?
Can it be customised for my store?
More Admin & Tools
Related extensions
Better Admin Order Grid
Colour-coded statuses, a product quick view, extra filterable columns and mass status changes for the admin order grid.
Product Grid Editor
Turn the admin Products grid into a fast inline editing workspace, without opening each product.
Category Import Export
Add, update, delete and export entire category trees in bulk using simple CSV files.
Have a Magento project in mind?
Tell me about your store and what you need. I reply to every enquiry within one business day.
Adobe Certified Expert
Adobe Commerce Developer certification, verified on Credly.
15+ years of Magento
From Magento 1 to Magento 2.4.x, Adobe Commerce and Hyvä.
62 Marketplace extensions
Each one reviewed and approved by Adobe.













