Admin Log - Magento 2 module documentation

Author: Marek Milewski

Admin Log Module

Module overview

Admin Log module, lets you have full awareness over your Admin Panel accesses. Now you will see who and when logged into what Admin Panel account. Moreover, you will be able to see what main actions they took while being logged.

Module compatibility

This module is compatibile with Magento Community versions: 2.2, 2.3, 2.4

How it works

Once installed, head to Stores > Configuration > Advanced > Admin > Admin Log to enable logs and set interval for clearing logs. To see all actions recorded by Admin Log, head to System > Admin Log > Show Logs.

Image 8

To check the module functionality, you can go to Catalog > Products. There you can try updating, adding or deleting an item. Afterwards go back to Admin Log and see if action was properly recorded in grid.

Our module gives you option to check details of an action, click View Details.

Image 4

Then pop-up window will appear with precise informations about taken action and element on which action was taken. Informations will differ depending on target.

Image 1

Demo

Installation

Composer

  1. Add repo to composer.json:
"repositories": [
    ...
    {
        "type": "vcs",
        "url": "git@git.auroracreation.com:aurora-modules/admin-log.git"
    }
    ...
],
  1. Add package to composer.json:
"require": {
    ...
    "aurora/admin-log": "*"
    ...
},
  1. In Magento root folder run commands:
composer update aurora/admin-log
php bin/magento module:enable Aurora_AdminLog
php bin/magento setup:upgrade

Manual

  1. Unzip archive.
  2. Upload extension files on your server to:
{Magento root}
└── app/
    └── code
  1. In Magento root folder run commands:
php bin/magento module:enable Aurora_AdminLog
php bin/magento setup:upgrade

Changlog

1.2.1

- Fix pre-change data logging
- Marking changes made in the configuration as 'Config'
- Marking differences between original and new data
- Corrected 'Intereceptor' class labeling
- Refactoring

1.2.0

- Fix not shown loginFailed actions
- Change collect logs from defined to all necessary classes

1.1.11

- Fix code syntex with standards
- Fix unit tests

1.1.10

- Replace a plugin with an observer
- Change model log validation

1.1.9

- Fix check type for bundle product

1.1.8

- Fix validation for enable log actions

1.1.7

- Add log actions
- Add processor model

1.1.5

- Update unit tests
- Fix error for null return by getOriginData

1.1.4

- Add logger helper
- Change to interfaces

1.1.3

- Update README

1.1.2

- Update to Magento version 2.3

1.1.1

- Add log to moveCategory
- Fix plugin saveLog

Thank you for your interest in our products!