Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Mattermost Logger

Security covered Under active development 69 sites

This module integrates Drupal's logging system with Mattermost, allowing you to send specific log messages to your Mattermost channels. You can configure which log channels to send, set individual logging levels for each, and even assign unique webhook URLs per channel, with messages visually highlighted in Mattermost.

Introduction

A Drupal module that integrates with Mattermost to log messages from the Drupal logging system.
Choose which logging channels to send to Mattermost and set the logging levels for each channel.

Features

  • Hooks into Drupal's logger service.
  • Supports multiple logging channels.
  • Configurable logging levels per channel.
  • Allows setting a unique webhook per channel or default to a default webhook.
  • Displays messages with color-coded indicators in Mattermost.

Configuration

  • Navigate to /admin/config/services/mattermost-logger/settings.
  • Add Drupal logging channels and their corresponding webhooks.
  • Select the logging levels for each channel.

Usage

The module automatically logs messages to mattermost based on the configured channels and levels.

Developers can use the MattermostLogger service manually:

\Drupal::service('mattermost_logger')->error('my_module', 'My error message');
Drupal 10–11

Ask your assistant about Mattermost Logger

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

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 4
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.1 Stable 10–11 Jun 18, 2025
1.0.0 Stable 10–11 Apr 14, 2025
1.0.0-beta2 Pre-release 10–11 Mar 14, 2025
1.0.0-beta1 Pre-release 10–11 Mar 7, 2025