Toggle Logger Channels
This module allows you to enable or disable specific logging channels in Drupal, including those from core and contributed modules. It provides a configuration page where you can select which channels to disable, preventing them from generating log entries.
Toggle Channels module provides the possibility to toggle (enable/disable) some (or all) logger's channels thrown through Drupal and installed contrib/custom modules.
Sometimes, for several reasons, it is not possible to disable some modules' logs. In this way, the Toggle Channels module, come in handy.
How it works
First of all go to admin/config/development/logging/toggle_channels to access to module's configuration page.
The first checkbox will enable the altering of the used logger replacing it with Nullable Logger provided by this module. This way, all the channels below selected, will not generate any log.
In the above picture was been disabled both logger's channels cron and user.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.2 | Stable | 10–11 | #3567996 Reset saved channels configuration; removed channels will now be cleared automatically. | Jan 19, 2026 | |
| 2.0.1 | Stable | 10–11 | This release adds compatibility with Drupal 10.3.x and prepares for Drupal 11 by addressing the deprecation of LoggerChannelFactory::setContainer(). | Nov 12, 2025 | |
| 2.0.0 | Stable | 8–11 | This release adds compatibility with Drupal 10.3.x and prepares for Drupal 11 by addressing the deprecation of LoggerChannelFactory::setContainer(). | Nov 12, 2025 |