web-atypique/log-archiver

Archive automatically magento 2 logs in var/log folder

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.2 2024-03-20 17:17 UTC

This package is auto-updated.

Last update: 2024-09-20 19:19:54 UTC


README

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