Fast database logging configuration page

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

  1. Enable this module and disable Drupal's database logging module.
  2. Visit the 'Logging and errors' page on your site (admin/config/development/logging).
  3. 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.

Similar projects

  • Database logging: This module is an enhancement of the database logging module, which is shipped with Drupal core.
  • Mongodb: Logs messages directly to mongoDB. Depending on your configuration, log messages may not be persistent. This requires access to a mongoDB installation.
  • GELF: Logs messages directly to a graylog/GELF compatible service. This requires access to a graylog installation.

Credits

Current maintainer: Mark Pavlitski

This project has been sponsored by:

  • Microserve
    Microserve is a Drupal web development agency based in Bristol, UK, specialising in Drupal Development, Drupal Training, Hosting and Peer Reviews. Contact us to see how we can help you.
Supporting organizations: 
Sponsored project development and contributed code
Maintenance

Project information

Releases