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). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Logger DB

43 sites Security covered
View on drupal.org

This module stores detailed, structured log information in your database, along with microsecond-precise timestamps and any associated metadata. It offers a user-friendly interface within Drupal to view, filter, sort, and export these logs.

Logger DB is an extended Drupal logging module that stores structured logs in JSON format within the SQL database. It captures raw placeholder values and metadata—including all nested objects—and stores them as separate values. Log timestamps are recorded with microsecond precision.

It provides Views-based UI reporting pages in the Drupal admin panel, with the ability to display custom log entry columns as plain text or number formatters for scalar values, and JSON/YAML formatters for complex values—including tested values using JSONPath, such as $.metadata.ai.token_usage.total.

You can filter and sort logs by custom field values, including nested fields, using JSONPath.

Logger DB has no mandatory dependencies and works seamlessly with the core Drupal Logger. However, to fully customize log fields, it is recommended to use extended logger modules such as Logger or Monolog, which are already integrated and automatically extended by Logger DB.

Features

  • Stores structured logs in the local SQL database as a single JSON column.
  • Records log entry timestamps and request start times with microsecond precision, allowing measurement of time spent on operations for each request.
  • Supports storing nested structures of any size and depth from the context array as nested JSON objects.
  • Provides a convenient, customizable Views-based UI to view logs directly in the Drupal admin panel.
  • Allows creation of multiple log report pages in the admin panel, displaying only required custom columns with custom context filters.
  • Provides exporting logs to a file and importing from a file, with merging and deduplication of entries.
  • Supports filtering logs by date and time range, and by any custom field values using JSONPath.
  • Offers Drupal Views field and filter plugins to build custom log view pages, displaying only relevant fields.
  • Can clean up old log entries by age or by limiting the total number of log entries.

Requirements

Logger DB has no mandatory dependencies and works with the core Drupal Logger.

For advanced log customization, use extended loggers like Logger or Monolog. Logger DB is already integrated with these modules and will automatically extend their functionality when they are installed.

Additional recommended modules

  • Request Logger: Logs every request to the logger with performance metrics (duration, memory usage, cache status, etc.), and attaches a unique request ID to each log entry, allowing you to easily filter logs by a specific request.
  • Events Log Track: Allows logging specific user actions such as user authentication, node, comment, and other entities operations (create, update, delete), workflow actions, configuration changes, etc.

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
5
Tracked since
Sep 2025
Latest release
4 months ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha4 Pre-release 10–11 Apr 13, 2026
1.0.0-alpha3 Pre-release 10–11 Mar 19, 2026
1.0.0-alpha2 Pre-release 10–11 Oct 13, 2025
1.0.0-alpha1 Pre-release 10–11 Oct 11, 2025
1.0.x-dev Dev 10–11 Sep 22, 2025