https://web-atypique.fr/magento-2-log-archiver
- Magento 2.4.6 or higher
- Php 8.0 or higher
composer require web-atypique/log-archiver
bin/magento setup:upgrade
bin/magento cache:flush
Go to Magento Marketplace https://commercemarketplace.adobe.com/webatypique-log-archiver.html
- Archive logs in .gz files
- Configure the cron scheduler for archiving logs (default is every day at 06am)
- Enable/Disable the module
- Archive logs manually with the command
bin/magento logs:archive
The archived logs are stored in the var/log/archive
directory in .gz files.
You can configure the module in Stores > Configuration > Advanced > System > Log Archiver
Yes, you can disable the module by running the following command:
bin/magento config:set system/log_archiver/enabled 0
bin/magento cache:flush
Or via the admin panel in Stores > Configuration > Advanced > System > Log Archiver
Yes, the logs are automatically archived every day at 06am by default.
You can configure the cronjob scheduler here: Stores > Configuration > Advanced > System > Log Archiver
You can also launch the archiving manually with the following command:
bin/magento logs:archive
Yes, it's fully free and open-source.
Please contact us to https://web-atypique.fr/contact