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). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Watchdog Prune

1,140 sites Security covered
View on drupal.org

This module allows you to selectively delete watchdog entries based on criteria like age or type. It provides more control over log retention than Drupal core, ensuring entries are kept for specific periods while preventing the log table from growing too large.

This module will allow you to selectively delete watchdog entries based on criteria, like age.

Drupal normally only deletes watchdog entries after 1,000 to 1,000,000 entries.

Instead, you can use this module to say "Delete entries older than 2 years", for example, or "Delete 'user' entries after 3 months", etc. This allows your site to guarantee that it retains watchdog entries for a certain time, regardless of how many entries are accumulated. However, it also lets you still remove entries from the table eventually, so as not to have a watchdog table which is too large.

This module is ideal for sites where entries should be kept for a certain amount of time, and for the purpose of generating reports based on user activity, without the worry that entries might start getting deleted by Drupal before a report can be run.

Installation / Configuration

After normal module installation, configure by visiting admin/config/development/watchdog-prune.

Drupal core's setting of "Database log messages to keep" must be set to "All", and will be set to that by this module.

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
2
Tracked since
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
7.x-1.4 Stable May 26, 2025
7.x-1.3 Stable May 26, 2025