Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module is a drop-in replacement for Drupal's database logging module (dblog), providing performance enhancements and finer-grained configuration.
Features
Provides all of the functionality which dblog provides.
Allows you to configure which message severities are logged.
Allows configuration based on user type (anonymous, authenticated and cron).
Lets you enable or disable special treatment for 403 and 404 pages, if you need reporting.
Can buffer log message, so that only one database write is needed per page request regardless of the number of log messages (configurable).
Usage
Enable this module and disable Drupal's database logging module.
Visit the 'Logging and errors' page on your site (admin/config/development/logging).
Configure the additional options you require, or leave as default.
Possible extensions
Use queuing instead of a shutdown function to write buffered log entries, so that alternative queue backends can be used, such as mongoDB. This would mean that logging would not require per-page database writes, but log entries would be delayed until next cron run.
This is a site builder tool for performance tweaks and alerts. This module will guide you and make suggestions about performance enhancements that will make your site scale better.