Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Watchdog Delete Filter

No security coverage Maintenance fixes only 177 sites

This module adds filters to Drupal's watchdog log, allowing you to selectively delete entries by type and severity. This helps manage large log tables by removing repetitive or verbose entries without deleting everything.

Watchdog Delete Filter module offers useful filters to selectively delete entries in the Watchdog provided by the Drupal core's Dblog module. At the present time, two filters are provided: Type and Severity.

Why this module?



The Dblog module from Drupal core provides a UI to delete ALL the watchdog entries in the database (admin/reports/dblog/confirm), without any kind of filtering. In some installations, there are repetitive errors and/or super-verbose modules that fill up the watchdog, displacing other significant errors. This module lets the user to clean the watchdog from these annoying entries, reducing the dblog table size. It is specially useful to clean dblog tables configured to keep more than 100000 entries.

This module will be deprecated if someday the watchdog entries will be made Drupal entities, since modules like Views Bulk Operations (VBO) will then handle the watchdog cleaning operations more powerfully. See https://www.drupal.org/project/views_bulk_operations/issues/2994794.

How it works?



This module overrides the form (admin/reports/dblog/confirm) provided by the core Dblog module, adding the type and the severity filters.

REQUIREMENTS

This module requires the following module:

  • Dblog (from Drupal core)

RECOMMENDED MODULES

  • Chosen: Chosen uses the Chosen jQuery plugin to make your multi-select elements more user-friendly.

INSTALLATION

Install the Watchdog Delete Filter module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/node/1897420 for further information.

CONFIGURATION

No configuration required. Just visit admin/reports/dblog/confirm to start using the module.

SIMILAR MODULES

  • Watchdog Prune: It allows you to selectively delete watchdog entries based on criteria, like age. The module lets you configure the cleaning process as a cron job. Conversely, Watchdog Delete Filter is a simpler module: it does not handle entries age and it requires manual intervention for cleaning.

SPONSOR

This module was created and sponsored by Interdruper, a Madrid (Spain) based company that provide specialist consulting, auditing and development services in Enterprise Drupal.

* Interdruper - https://www.interdruper.com/

Drupal 8–11

Ask your assistant about Watchdog Delete Filter

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

  • dblog Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.0.2 Stable 8–11 Aug 14, 2024
2.0.1 Stable 8–10 Feb 22, 2023
2.0.0 Stable 8–10 Feb 22, 2023