bydn/admin-logger

Admin Logger

2.0.2 2025-02-05 08:18 UTC

This package is auto-updated.

Last update: 2025-06-05 09:01:55 UTC


README

This administrator-focused extension introduces an admin logger, enabling Magento 2 administrators to stay informed about admin-initiated modifications in the backoffice

Features

  • Logs any admistrator action performed in the Magento Backoffice to keep track of who changed what.
  • Allows filtering request based on Module Name, Controller, Action and Administrator User to allow focussing on what is really important.
  • Automatic Log entries clean up to avoid excessive growth of the logger tables.

Instalation

Run:

composer require bydn/admin-logger
./bin/magento module:enable Bydn_AdminLogger
./bin/magento setup:upgrade

Configuration

Access the configuration going to:

Stores => Configuration => Utilities (by DN) => Admin Logger.

Admin Logger Extension Config

Enable admin logger. Enables or disables the admin logger. If disabled, no request will be logged. Clean log entries after (days). After this number of days, the logger entries will be automatically deleted to avoid excessive growth of the logger database table in big shops. Filters to apply. In this section you can add some filters to the request logging. For example, it is highly recommended to filter Magento_Ui module requests, as they are always XHR requests and then, they don’t provide useful information in most of the cases.

Where to see the data

To see the admin logger data, go to:

Reports => Admin Log => See Logs

The you can see the following data foreach action performed in the Backoffice.

• Username • Executing module, controller and action names • Parameters in the request

See Admin Logger Logs

Also you can filter the data by any of the previous parameters as it is usually done in any grid.

Having problems

Contact me at soy at solodani.com