Drupal's New DBLog Retention Policy Offers Granular Log Control

Drupal

DBLog Retention Policy is a new Drupal module that empowers users to take control of log message retention with unmatched granularity. Created and maintained by Nick Dickinson-Wilde, this module allows you to finely tune how long log messages are retained based on their type or group of channels in the database log (dblog). You can specify the number of log messages to keep or determine retention by date. For instance, you can configure it to preserve node change records for six months while retaining other logs for just one month.

To get started, you need Drupal core version 9.0 or higher with the core DBLog module installed. Installation is straightforward, and the module can be enabled through the UI or Drush. Once enabled, you can navigate to the configuration page at /admin/config/development/logging/retention_policy to set up your retention policies. A default policy is recommended for all unspecified types, and you can create specific policies as needed to align with your logging requirements.

DBLog Retention Policy offers a more precise and flexible way to manage log messages in Drupal, making it a valuable addition for those who need granular control over their logs. This module was sponsored in part by Taoti Creative, bringing enhanced log management capabilities to the Drupal community. Know more about Drupal's new contrib module by clicking the link.

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 let us know in the comments below and we will try to address the issue as best we can.

Related People

Related Organizations

Advertisement Here

Upcoming Events

Latest Opportunities

Advertisement Here