Skip to content

geoffreylopez/logs-archiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

web-atypique-archive-logs-screen

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