jslog

Component ID

2426569

Component name

jslog

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

JSLog the javascript error logger for Drupal 7

When console.log won't cut it.

A Javascript logging module to allow the client to send logging calls via ajax to watchdog for both errors and general logging. The goal of the module is to fill the gap of logging on the client side to be able to catch and log errors on production environments. Secondarily it could be provide development and debugging tool when client data needs to be recorded for review.

This at it's core a watchdog wrapper for window.error for Drupal. This project is under active development and as a sandbox it is pretty rough right now. The project is close to reaching a minimum viable product stage. Once it has some traction and more real world testing it should be a powerful module for tracking javascript without the cost of a third party service.

Roadmap

Goals before submitting as full project

  • 100% Code Coverage Unit/Functional Tests in progress
  • CasperJS Functional Tests in progress
  • Travis CI
  • Admin page UX
  • Additional Browser Debug Information

Near Future

  • Filtering (path & exception)
  • Specify watchdog severity levels for exceptions types.
  • User interaction tracking debug information (what actions did the use cause the error)
  • Extra security expiring tokens
  • JSLogging run script from remote server.

Pipe Dreams

  • Open source alternative to something like trackjs.com & getsentry.com for Drupal. Maybe