Can you recommend any resource to learn proper error handling (logging, reporting) for rails apps?

This page summarizes the projects mentioned and recommended in the original post on /r/rails

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Semantic Logger

    Semantic Logger is a feature rich logging framework, and replacement for existing Ruby & Rails loggers.

  • We've just switch to Semantic Logger (https://github.com/reidmorrison/semantic_logger) at work for logging in a context-sensitive way. All the logs are going back into the local database via a custom appender, which isn't ideal but at least puts all the data in an easy-to-query space.

  • self-hosted

    Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept

  • Considering you would rather be without third-party, I would suggest Sentry which is open-source and allows for a self-hosted solution https://develop.sentry.dev/self-hosted/. It works similar to Honeybadger, but you can control everything yourself.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Exception Handler

    Ruby on Rails Custom Error Pages

  • There is a drop-in engine supporting writing to database instead: https://github.com/richpeck/exception_handler But I have never used it personally and I don't know if it's compatible with Rails 7 (should be though).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts