This project is not covered by Drupal’s security advisory policy.
JS Watchdog provides Drupal.watchdog() in Javascript to log errors to the database.
JS Watchdog is a utility module. Only install it if you are programming Javascript code that will call Drupal.watchdog() or another module requires it.
Security
This module includes both client-side and server-side flood control to prevent (respectively);
- Infinite loops flooding the log
- Malicious users abusing your database
Usage
The parameters for Drupal.watchdog() are exactly the same as the PHP counterpart, watchdog().
Drupal 7
Drupal 7 ports would be fairly trivial. Patches are welcome.
Alternatively there is a similar Drupal 7 sandbox module with an email feature but no flood control, called jDog.
Drupal 8
JS Watchdog will not be ported to Drupal 8. See the issue queue instead:
- #1419652: JavaScript logging and error reporting
- #727278: Add watchdog interface for javascript code to use
Commercial support
The author of this module is available for hire. Contact Bevan.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Created by Bevan on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
