~ $ man 3 lognorth-rails
Logs and errors for Rails.
One gem. Auto-configures. You own the data.
[01] install
terminal
$ bundle add lognorth
[02] configure
Add your credentials and you're done. The gem auto-configures via Railtie.
config/credentials.yml.enc
lognorth: url: https://logs.yoursite.com api_key: your-api-key
[03] use
ruby
LogNorth.log("User signed up", { user_id: 123 }) LogNorth.error("Checkout failed", exception, { order_id: 42 })
[04] out of the box
What you get out of the box.
- Middleware logs every request with
trace_idandduration_ms - ErrorSubscriber catches exceptions automatically (Rails 7+)
- Stack traces with file, line, and method
- Errors grouped into issues. You get alerted.
- Skip noisy routes like
/healthzand/up
[05] the price
No SaaS. No monthly bill.
LogNorth runs on your server. One Docker container. SQLite. Free and open source under MIT.
From bundle add to tracking errors in under 3 minutes.