Logs Archiver for Magento 2
web-atypique/log-archiver
Archives Magento log files into .gz archives under var/log/archive, on a configurable cron schedule or on demand via a CLI command.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Share This Module's Status
README
Loaded from GitHubWeb Atypique - Logs Archiver Magento 2
Online Documentation
https://web-atypique.fr/magento-2-log-archiver
Pre-requisites
- Magento 2.4.6 or higher
- Php 8.0 or higher
How to install WebAtypique_LogsArchiver
Via Composer
composer require web-atypique/log-archiver
bin/magento setup:upgrade
bin/magento cache:flush
Via Magento Marketplace
Go to Magento Marketplace https://commercemarketplace.adobe.com/webatypique-log-archiver.html
Features
- 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
How it's work
Where are the archived logs?
The archived logs are stored in the var/log/archive directory in .gz files.
Where can I configure the module?
You can configure the module in Stores > Configuration > Advanced > System > Log Archiver
How I can disable the module?
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
Is it automatic?
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
Is it free?
Yes, it's fully free and open-source.
Need More Features?
Please contact us to https://web-atypique.fr/contact
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.