Toggle Logger Channels Module v2.0.1 Adds Drupal 10.3 and Drupal 11 Support

Toggle Logger Channels Module v2.0.1 Adds Drupal 10.3 and Drupal 11 Support

The Toggle Logger Channels module has hit a new milestone: version 2.0.1 now adds compatibility with Drupal 10.3 and moves the module forward in preparation for Drupal 11 support.

The module enables site administrators to toggle (enable or disable) specific logger channels used by Drupal core, contrib and custom modules. This is especially useful in scenarios where unwanted log entries are flooding the system and cannot be disabled via standard configuration.

To use the module, navigate to /admin/config/development/logging/toggle_channels. On the configuration page you can enable the setting to replace the active logger service with the module’s “Nullable Logger”, and then select which channels you want suppressed. For example, you may choose to disable the “cron” channel or the “user” channel so that no log entry is generated from those sources.

Version 2.0.1 was released on 12 November 2025, and it specifically adds support for Drupal 10.3.x and addresses the deprecation of LoggerChannelFactory::setContainer() in preparation for Drupal 11. The module remains maintained under the security advisory policy and is suitable for sites aiming to skip excessive log noise while retaining important system logs.

Installation is available via Composer:
composer require "drupal/toggle_channels:^2.0"

This contrib module is actively maintained by Nino Marrazzo, who continues to align it with Drupal’s evolving logging APIs.

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Upcoming Events