PHPackages                             redchamps/module-log-restrictions - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. redchamps/module-log-restrictions

ActiveMagento2-module[Logging &amp; Monitoring](/categories/logging)

redchamps/module-log-restrictions
=================================

It will help you to allow only critical information to logs.

1.0.0(5y ago)53.1k↑106.7%1OSL-3.0PHP

Since May 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/redchamps/magento2-module-log-restrictions)[ Packagist](https://packagist.org/packages/redchamps/module-log-restrictions)[ Docs](https://redchamps.com/log-restrictions-magento-2-extension.html)[ RSS](/packages/redchamps-module-log-restrictions/feed)WikiDiscussions master Synced 2d ago

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

Log Restrictions - Magento 2 Extension
======================================

[](#log-restrictions---magento-2-extension)

[![Latest Stable Version](https://camo.githubusercontent.com/d01c541214721e518d03d4f2167af1f2be96867482edc2c31b895861322820f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7265646368616d70732f6d6f64756c652d6c6f672d7265737472696374696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/redchamps/module-log-restrictions) [![Packagist](https://camo.githubusercontent.com/6706734e5ca49922b9a61146e99f54c11d1657dce9b8f058193a0e4bd941158d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7265646368616d70732f6d6f64756c652d6c6f672d7265737472696374696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/redchamps/module-log-restrictions/stats) [![Packagist](https://camo.githubusercontent.com/dc3f38f28e712d618ca72484275704e5ddb234776bd91c4909532158c172a183/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f7265646368616d70732f6d6f64756c652d6c6f672d7265737472696374696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/redchamps/module-log-restrictions/stats)

This Magento 2 extension will disallow `INFO` &amp; `DEBUG` type entries in Magento logs when the store is in PRODUCTION mode.

Necessity
---------

[](#necessity)

You may have seen `system.log` &amp; `debug.log` filled with entries like

> main.INFO: Add of item with id Magento\_Backend::content was processed \[\] \[\]

These entries are absolutely not required while store is in PRODUCTION mode. They create two main problems

1. Grows the size of log file.
2. Makes it very hard to look of real error messages.

Installation
------------

[](#installation)

> composer require redchamps/module-log-restrictions

Customization
-------------

[](#customization)

You may disallow other log types or disallow these entries in other modes along with PRODUCTION by adding or altering values in di.xml

Authors
-------

[](#authors)

- RedChamps \[Maintainer\] [![Twitter Follow](https://camo.githubusercontent.com/bfe7b16c62ee445c323870dcbe32dc2517a1ef26a8be748fd202a1b9d59111b6/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f5f7265644368616d70732e7376673f7374796c653d736f6369616c)](https://twitter.com/_redChamps)
- Ravinder \[Maintainer\] [![Twitter Follow](https://camo.githubusercontent.com/332c53426b28ecf37df7f7ff1f43ca5ececcd069e2b6494f578d630c3228a2e6/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f5f69416d5261762e7376673f7374796c653d736f6369616c)](https://twitter.com/_iAmRav)

License
-------

[](#license)

This project is licensed under the Open Source License

ADS
---

[](#ads)

Please visit our [store](https://redchamps.com) for more free/paid extensions from us.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1872d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39119624?v=4)[RedChamps](/maintainers/redchamps)[@redchamps](https://github.com/redchamps)

---

Top Contributors

[![rav-redchamps](https://avatars.githubusercontent.com/u/5336201?v=4)](https://github.com/rav-redchamps "rav-redchamps (1 commits)")

---

Tags

phpmagentomagento2

### Embed Badge

![Health badge](/badges/redchamps-module-log-restrictions/health.svg)

```
[![Health](https://phpackages.com/badges/redchamps-module-log-restrictions/health.svg)](https://phpackages.com/packages/redchamps-module-log-restrictions)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.3M623](/packages/illuminate-log)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1861.6M3](/packages/justbetter-magento2-sentry)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[opengento/module-webapi-logger

This module allows you to analyze all the webapi rest done call toward your Magento.

1118.1k](/packages/opengento-module-webapi-logger)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1396.0k44](/packages/mahocommerce-maho)

PHPackages © 2026

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