Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Mattermost Logger

66 sites Security covered
View on drupal.org

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');

Activity

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

Release Timeline

Releases

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