Title: Magento 2 Admin Action Log
1Admin Action Log for Magento 2 User Guide
- Table of Contents
- Extension Installation Guide
- Configuration
- Email Notification Settings
- Admin Action Logs in Backend
- Login Attempts
- Page Visit History
- Active Admin Sessions
2- Extension Installation
- For Magento Marketplace Customers
- Find the Composer name and version of the
extension in the - extensions composer.json file.
- Login to your SSH and run
- composer require meetanshi/magento2-admin-action-l
og - Enter your authentication keys. Your public key
is your username your private key is your
password. - Wait for Composer to finish updating your project
dependencies and make sure there - arent any errors.
- To verify that the extension installed properly,
run the command - php bin/magento modulestatus Meetanshi_AdminActio
nLog - By default, the extension is probably disabled.
- Enable the extension and clear static view files
- php bin/magento moduleenable Meetanshi_AdminActio
nLog --clear-static-content - php bin/magento setupupgrade
- For Magento version 2.0.x to 2.1.x - php
bin/magento setupstatic-contentdeploy - For Magento version 2.2.x above - php
bin/magento setupstatic-contentdeploy f - php bin/magento cacheflush
3- Configuration
- To configure the extension, log in to Magento 2,
move to Admin Action Log ? Configuration - where you can find various settings to configure
the extension. - Admin Action Log Enable or disable the Admin
Action Log extension. - Automatically Clear Action Logs after .... Days
Enter number of days after which you wish the
extension to automatically clear the action logs. - Select Objects to Log Select all the objects for
which you want to log actions. - Restore Settings Warning Text Enter custom
message that you want to display to the admin
while restoring the admin actions. - Save Page Visit History Set YES to enable page
visit history log for various admin users.
4- Email Notification Settings
- The extension also allows the admin users to get
notified about the login attempts via email.
Configure various settings to send email
notifications on successful or failed login
attempts. - Email Sender Select the email sender from the
drop-down menu to send emails to the main admin
on successful logins. - Send Email Copy To Select the admin users whom
you want to send email notifications on
successful or failed admin login attempts. - Login Success Email Template Select template to
send email notification for successful - login attempts by the admin users.
- Login Failure Email Template Select template to
send email notification for failed login
attempts by the admin users.
5- Login Success Email to Admin
- Login Failure Email to Admin
64. Admin Action Logs in Backend All the
activities of various admin users get stored at
Admin Action Log ? Actions Log grid in the
backend with the details like date of action
performed, user name of the admin, IP address,
action performed, object for which the action is
performed, specific object, action type and store
views. The admin can also export the actions log
in CSV or XML format.
- Restore Admin Actions
- On click of View action from the Actions log
grid, detailed action details are shown with the
old and new values. The admin can click Restore
button to restore the recent changes done - by the admin user.
75. Login Attempts Move to Admin Action Log ?
Login Attempts grid in the backend to get
complete details of login attempts by the admin
users. The grid stores the details like date and
time of login, user name, full name, IP address,
user agent, status and user ID. The admin can
also export the login attempt logs in CSV or XML
file.
86. Page Visit History Using Admin Action Log
extension, the admin can also keep track of admin
users page visit history. Move to Admin Action
Log ? Page Visit History where you can see page
visit history details such as user name, full
name, IP address, session start date and time,
session end date and time.
- Click Show History button from the page visit
history grid to view details like page name,
page URL and stay duration of the admin user on
the particular page.
97. Active Admin Sessions Move to Admin Action Log
? Active Sessions to view currently active admin.
The grid provides complete details of the active
admin sessions such as user name, full name, date
and time of login, IP address, user ID, and
recent activity performed. Admin can choose to
terminate an active session or disable account of
the admin user by clicking Terminate Session
and Disable Account action respectively.