Yireo LogExcludes

yireo/magento2-log-excludes

Filters out configured message patterns from being written to Magento logs, useful for suppressing bot-triggered exceptions that would otherwise flood log files.

No errors foundPHPStan level 5Build passingTrusted vendorSemVer violations (0% compliant)

Supported Magento versions: 2.4.9

715 installs★ 2 starsLatest: v1.0.1Released 2025-10-15License: OSL-3.0

composer require yireo/magento2-log-excludes

README

Reproduced from the package’s own README, under its own license, as of 2026-09-13. Links and images point back at the source repository.

Yireo LogExcludes

Magento version PHP version License Latest Version

A Magento 2 module that allows you to prevent certain messages from being written to log. Handy when there is a certain exception message triggered by bots without the need to investigate and without the need to have those messages flooding your logs.

Installation

composer require yireo/magento2-log-excludes
bin/magento module:enable Yireo_LogExcludes

Note that this module does not work together with the Yireo Whoops plugin.

Configuration

Navigate in the Magento Admin Panel to Stores > Configuration > Advanced > Developer > Yireo LogExcludes and configure the following:

  • Enable Log Filtering (system/yireo_logexcludes/enabled)
  • Exclude Patterns (system/yireo_logexcludes/patterns)

Current status

Static Tests Unit Tests Integration Tests Playwright DI Compilation

← All packages from yireo