DBlog Time Filter Module Released for Drupal 11: Adds Real-Time Clock and Quick Log Filters

DBlog Time Filter Module Released for Drupal 11: Adds Real-Time Clock and Quick Log Filters

Augusto Fagioli has announced the release of a new contributed module for Drupal 11, called DBlog Time Filter, aimed at improving the usability and efficiency of the core "Recent Log Messages" report page. The module introduces targeted enhancements focused on developer workflows, specifically around time-based debugging and user interface improvements.

Core Enhancements

The DBlog Time Filter module extends Drupal's core logging interface, located at /admin/reports/dblog, by adding tools currently not available in core:

  • Real-Time Server Clock The module displays the current server time, updated every second using a client-side offset. This provides developers with a consistent reference point for log events, which is especially helpful when the client's local machine time differs from the server environment. The clock is positioned directly above the exposed filter form, making it immediately accessible during log analysis.
  • Quick Time Range Filters A new select field is added to the exposed Views form, allowing users to quickly filter logs by relative timeframes such as "Last 10 minutes," "Last hour," or "Last day." This eliminates the need to manually calculate or input specific timestamps, reducing friction during debugging sessions.
  • User Interface Improvements The module also refines the visual layout of the filter form. Vertical spacing is reduced, and the arrangement of form elements has been adjusted to improve space usage and readability. These changes are designed to make the log viewing interface more efficient without altering its core functionality.

Development Intent and Module Lifecycle

This module is not a general-purpose enhancement, but a focused solution addressing known gaps in Drupal Core's logging tools. According to the project description, it alters the default behaviour of the core Watchdog view, specifically modifying its exposed filter form. This may affect other modules or customisations that rely on the original structure of the log view.

The project is designed with a defined sunset plan. If Drupal Core eventually includes equivalent features-such as native quick time filtering or built-in time the DBlog Time Filter module will be deprecated, marked unsupported, and eventually retired. This ensures that the module remains a high-value, temporary enhancement rather than creating long-term fragmentation or maintenance overhead.

Compatibility and Availability

The module is available for Drupal 11 and can be downloaded from its project page on Drupal.org: ? https://www.drupal.org/project/dblog_time_filter

It is intended primarily for developers, site builders, and maintainers who regularly interact with Drupal's log system and need quicker, more contextual access to time-based log entries.

Disclosure: This content is produced with the assistance of AI.

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related People

Upcoming Events

Latest Opportunities