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.
Supported Magento versions: 2.4.9
715 installs★ 2 starsLatest: v1.0.1Released 2025-10-15License: OSL-3.0
composer require yireo/magento2-log-excludesREADME
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.
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.
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.
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)
Links
- Packagist
- PackageMaven — quality data by PackageMaven
- Repository
- Issues