PHPackages                             dominicwatts/logcleaner - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. dominicwatts/logcleaner

ActiveMagento2-module[CLI &amp; Console](/categories/cli)

dominicwatts/logcleaner
=======================

Console script and cron task to clean magento logs

1.0.4(6y ago)2477proprietaryPHP

Since Jun 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/DominicWatts/LogCleaner)[ Packagist](https://packagist.org/packages/dominicwatts/logcleaner)[ RSS](/packages/dominicwatts-logcleaner/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Magento 2 Log Cleaner
=====================

[](#magento-2-log-cleaner)

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
====================

[](#install-instructions)

`composer require dominicwatts/logcleaner`

`php bin/magento setup:upgrade`

Usage instructions
==================

[](#usage-instructions)

`xigen:log:cleaner [--] `

`php bin/magento xigen:log:cleaner clean`

Or alternatively allow cron task to run

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Total

5

Last Release

2465d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/44d79495721d844614b7004c5811ff2ab7cf15c9be3544000f7ee89f3e187de3?d=identicon)[DominicPixie](/maintainers/DominicPixie)

---

Top Contributors

[![DominicWatts](https://avatars.githubusercontent.com/u/7295705?v=4)](https://github.com/DominicWatts "DominicWatts (18 commits)")

### Embed Badge

![Health badge](/badges/dominicwatts-logcleaner/health.svg)

```
[![Health](https://phpackages.com/badges/dominicwatts-logcleaner/health.svg)](https://phpackages.com/packages/dominicwatts-logcleaner)
```

###  Alternatives

[yireo/magento2-theme-commands

CLI commands to manipulate themes

1334.2k1](/packages/yireo-magento2-theme-commands)[macopedia/magento2-categoryimporter

Category Importer for Magento 2

344.6k](/packages/macopedia-magento2-categoryimporter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
