Custom logging in Rails apps - do you?

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

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

    A flexible logging library for use in Ruby programs based on the design of Java's log4j library.

  • For Ruby I use (Logging)[https://github.com/TwP/logging] and while I'm not happy with its Rails gem it can be used without it.

  • Log4r

    Log4r is a comprehensive and flexible logging library for use in Ruby programs. It features a heirarchical logging system of any number of levels, custom level names, multiple output destinations per log event, custom formatting, and more.

  • I used to use log4r but moved to Logging as it was dead. Not sure what's up now.

  • 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
  • epilog

    A JSON logger with Rails support

  • I use a custom structured logger I built. It's something like lograge, but adds more data, and supports arbitrary keys. Then I use the logging gem to format the logs. They get send to journald, then datadog, along with all other system logs.

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