Exception Logger plugin

Plugin details

The Exception Logger logs your Rails exceptions in the database and provides a funky web interface to manage them.

Repositoryhttp://svn.techno-weenie.net/projects/plugins/exception_logger/ Author Jamis Buck, Rick Olson, Josh Goebel Tags Exceptions, Logs LicenseUnknown

Documentation

Install the plugin:
ruby script/plugin install http://svn.techno-weenie.net/projects/plugins/exception_logger/

First you need to generate the migration:

./script/generate exception_migration


Next, you'll need to include the ExceptionLoggable module into ApplicationController. Once that's done you might want to modify key methods to customize the logging:

  render_404(exception) - Shows the 404 template.
  render_500(exception) - Shows the 500 template.
  log_exception(exception) - Logs the actual exception in the database.
  rescue_action_in_public(exception) - Does not log these exceptions: ActiveRecord::RecordNotFound, ActionController::UnknownController, ActionController::UnknownAction


After that, visit /logged_exceptions in your application to manage the exceptions.

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | Back in time (1 older version) | Last edited by: maxim_kulkin, 11 months ago