The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

1090 Modules
617 Ready
473 Need Help
🏆 Leaderboard
Stable v1.0.3

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.

197
Downloads
Below average
0
GitHub Stars
11mo ago
Last Release
0
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
71 warnings
L2 PHPStan

Tested on Magento 2.4.9

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.0.3 on Magento 2.4.9
Jun 2, 2026

Share This Module's Status

Logs Archiver for Magento 2 Magento compatibility status badge

README

Loaded from GitHub

Web 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.