dblog_time_filter
Purpose: Enhances the Drupal Core "Recent Log Messages" report page (/admin/reports/dblog) by adding critical debugging and usability features currently missing from the core functionality.
Key Features:
Real-Time Server Clock: Displays the Current Server Time that updates every second (using a client-side offset). This provides developers with an immediate, consistent time reference essential for correlating logs with specific events, regardless of the client's local machine time. The clock display is positioned directly before the exposed filter form.
Quick Time Range Filters:
Adds a new Select element to the Views exposed form, allowing users to instantly filter log messages by common, relative time periods (e.g., "Last 10 minutes," "Last hour," "Last day") without manually calculating or entering timestamps.
Improved UX:
Reduces vertical spacing and adjusts the visual layout of the filter form for a cleaner, more efficient debugging experience.
Important Developer Notice (Core Feature Alteration)
⚠️
This module alters the default behavior and output of a Drupal Core feature (specifically, the 'Watchdog' View exposed form).
This module is designed to serve as a temporary, high-value solution to address known gaps in debugging tools within Drupal Core.
Planned Module Sunset: If the features provided by this module (specifically the quick time filtering and improved time referencing) are officially adopted and covered by a future Drupal Core release, this module will be marked as unsupported, deprecated, and eventually suspended to prevent conflicts and encourage the use of the native core solution.