Admin Action Logs extension icon

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.

Admin & Tools Magento 2.4.x Open Source & Adobe Commerce Adobe Marketplace approved $69 USD

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.

Admin Action Logs: Overview (screenshot 1 of 14)Admin Action Logs: Old new values (screenshot 2 of 14)Admin Action Logs: Restore (screenshot 3 of 14)Admin Action Logs: Restore deleted (screenshot 4 of 14)Admin Action Logs: Mass configuration (screenshot 5 of 14)Admin Action Logs: Filters export (screenshot 6 of 14)Admin Action Logs: Login attempts (screenshot 7 of 14)Admin Action Logs: Login emails (screenshot 8 of 14)Admin Action Logs: Page visits (screenshot 9 of 14)Admin Action Logs: Active sessions (screenshot 10 of 14)Admin Action Logs: Sign out (screenshot 11 of 14)Admin Action Logs: Configuration general (screenshot 12 of 14)Admin Action Logs: Configuration cleanup email (screenshot 13 of 14)Admin Action Logs: Menu (screenshot 14 of 14)
1 / 14

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 nameMage2Expert_ActionLogs
Composer packagemage2expert/module-action-logs
SettingsStores › Configuration › Magento Expert › Admin Action Logs (14 options)
Admin menuSystem › 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 settingsNo (global or website level)
APINo custom endpoints (uses Magento's standard APIs)
Scheduled jobs1 cron job
PHP8.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
SettingDescription
Enable Admin Action LogsRecords 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 LogChanges are recorded only for the selected types of records.
Restore Settings Warning TextShown in the confirmation popup before a change is restored.
Save Page Visit HistoryRecords every admin page each admin user opens and how long they stayed on it.
Log Cleaning 3
SettingDescription
Automatically Clear Action Logs After (Days) 
Automatically Clear Login Attempts After (Days) 
Automatically Clear Page Visit History After (Days) 
Email Notification Settings 7
SettingDescription
Send Email on Successful LoginSends an email every time an admin user signs in.
Send Email on Failed LoginSends an email every time someone fails to sign in to the admin panel.
Email Sender 
Send Email ToMain admin email address. Separate several addresses with commas. Leave empty to use the General Contact email.
Send Email Copy ToAdmin users who also receive a copy of the login emails.
Login Success Email Template 
Login Failure Email Template 

Developer reference

Cron jobs

JobRuns
mage2expert_actionlogs_cleandaily at 02:30 (server time)

Frequently asked questions

How much does Admin Action Logs cost?
Admin Action Logs costs $69 USD as a one-off purchase on the Adobe Commerce Marketplace.
Which Magento and PHP versions are supported?
Magento Open Source and Adobe Commerce 2.4.x. It is developed and tested on Magento 2.4.8, and supports PHP 8.1, 8.2, 8.3, 8.4, 8.5.
Where do I configure Admin Action Logs?
In the Magento admin under Stores › Configuration › Magento Expert › Admin Action Logs. It has 14 options, grouped into 3 sections.
Can I switch it off without uninstalling it?
Yes. Set "Enable Admin Action Logs" to No under Stores › Configuration › Magento Expert › Admin Action Logs. Your settings and data are kept.
Does it run background jobs?
Yes, mage2expert_actionlogs_clean runs daily at 02:30 (server time). Magento cron must be running for these to work.
Can it be customised for my store?
Yes. As the developer of Admin Action Logs, I can adapt it to your workflow or build related features. Email me with what you need.
Available for new projects

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.