This is a collection of logging and alerts modules. The interface to the new custom logging watchdog hook.

Currently, the following modules are included:

  • Email logging and alerts
  • Allows routing of watchdog messages to various email addresses, based on their severity levels. For example, emergency and critical messages need to go to a pager or mobile phone email address, while debug messages go nowhere.

  • Web server logging
  • Allows routing of watchdog messages to the web server's error log. Note that what is in your PHP configuration for error_log defines where the message will go. For example, on a UNIX like system, this will be syslog(3), which may end up in /var/log/apache2/error.log, and on Windows, it would be the event log.

    You define which severity levels are to go to the error log. For example, you can only specify that emergency and critical messages need to go to the error log, and use other modules for the other levels.

  • Watchdog triggers (D7 only)
  • Provides a trigger for watchdog events. You may now trigger actions when an event occurs.

  • Watchdog rules (D7 only)
  • Provides rules integration for watchdog events. You may now trigger additional ruleset responses when an event occurs.

Other modules

If you want to log to a flat file, then you can use the file logging module which uses the same API.

Supporting organizations: 
Drupal 8 port
Drupal 8 Maintenance

Project information

Releases