Console script and cron task to clean magento logs

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0


1.0.4 2019-08-09 23:49 UTC


Clean log tables from Magento using either console command or waiting for cron task to run

Tables clear are:

  • report_event
  • report_viewed_product_index
  • report_compared_product_index
  • customer_visitor

Install instructions

composer require dominicwatts/logcleaner

php bin/magento setup:upgrade

Usage instructions

xigen:log:cleaner [--] <clean>

php bin/magento xigen:log:cleaner clean

Or alternatively allow cron task to run