Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

monolog

10,961 sites Security covered
View on drupal.org

Overview

This module integrates Drupal with the fantastic Monolog library by Seldaek to provide a better logging solution. Some of the benefits of using this module are as follows:

  • Configurable logging levels
  • A multitude of handlers
  • All the power and flexibility of Monolog

The Monolog module also has full watchdog integration, so it works with core and contributed modules out of the box.

Installation

The monolog library is the only requirement and can be installed by using composer.

Usage

See README.md.

The Drupal Monolog module will override core Drupal logging behaviors. To still use Drupal loggers (logger tagged services) such as Watchdog or contributed modules, you need to add them to this module configuration; see the "Log to database" topic in the readme.

Monolog 2.x requires PHP 7.4 or PHP 8.0.x and Drupal 8 or Drupal 9.
Monolog 3.x requires PHP 8.1.x and Drupal 10.

Activity

Total releases
4
First release
May 2025
Latest release
6 months ago
Release cadence
61 days
Stability
100% stable

Release Timeline

Releases

Version Type Release date
2.2.2 Stable Nov 13, 2025
3.0.7 Stable Sep 29, 2025
3.0.6 Stable Sep 12, 2025
3.0.5 Stable May 15, 2025