Magento 2 module to disable customer logging
This module disables various log attempts of the Magento core, improving performance slightly.
Use composer to install this extension. First make sure that Magento is installed via composer, and that there is a valid
composer.json file present.
Next, install our module using the following command:
composer require yireo/magento2-disablelog2
Next, enable the new module in Magento:
./bin/magento module:enable Yireo_DisableLog2 ./bin/magento setup:upgrade
Check whether the module is succesfully installed in Admin > Stores > Configuration > Advanced > Advanced.
composer to install this package. However, if you want a manual copy instead, these are the steps:
source/folder to the folder
app/code/Yireo/DisableLog2of your site
php -f bin/magento module:enable Yireo_DisableLog2
php -f bin/magento setup:upgrade
Just install the module and it will disable some logging.
The following logs will be disabled when the
Yireo_DisableLog module is installed:
LogLastLoginAtObserverclass logs a succesfull login, responding to the event
LogLastLogoutAtObserverclass logs a succesfull logout, responding to the event
@todo: More events are disabled.
The following tables are supposed to be free from new insertions: