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
- Web server logging
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.
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.
Supported branches:
- 2.1.x branch supports Drupal 10.3 and 11. It is based on 2.0.x branch with some notable changes:
- Support for Drupal 9 up to Drupal 10.2 was dropped.
- It adds some new features.
Alternatives
- https://www.drupal.org/project/watchdog_mailer (Please help to write a comparison in #3494011: Comparison with the Logging and alerts module)
- https://www.drupal.org/project/filelog - If you want to log to a flat file using the same API
Project information
- Project categories: Administration tools, Developer tools, Integrations
737 sites report using this module
- Created by kbahey on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.






