Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Monolog

Security covered Under active development 13,418 sites

Part of the Monolog ecosystem · 6 projects

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.

Drupal 10–11

Ask your assistant about Monolog

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

5 tracked projects depend on this one

More in the Monolog ecosystem

Most installed first

All 6 →

Activity

Tracked releases
11
Tracked since
Jun 2023
Latest release
2 months ago
Releases (12 mo)
2 ▼ from 3
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP 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
2.2.1 Stable 8–10 PHP 7.4 Sep 19, 2024
3.0.4 Stable 10–11 PHP 7.4 Aug 12, 2024
3.0.3 Stable 10 PHP 7.4 Jun 21, 2024
3.0.2 Stable 10 PHP 7.4 Feb 13, 2024
3.0.1 Stable 10 PHP 7.4 Nov 6, 2023