Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Monolog

13,345 sites Security covered Drupal 10–11 Monolog ecosystem
View on drupal.org

This module integrates Drupal with the Monolog library to offer a more flexible and configurable logging solution. It provides different logging levels and handlers, and integrates with Drupal's watchdog system.

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.7 and <= 10.
Monolog 3.x requires PHP 8.1.x and Drupal > 10.1.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

4 tracked projects depend on this one

Activity

Tracked releases
5
Tracked since
May 2025
Latest release
3 weeks ago
Releases (12 mo)
4 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.1.0 Stable 10–11 Aug 10, 2026
2.2.2 Stable 8–10 Nov 13, 2025
3.0.7 Stable 10–11 Sep 29, 2025
3.0.6 Stable 10–11 Sep 12, 2025
3.0.5 Stable 10–11 May 15, 2025