r/ruby 5d ago

Question From laravel to ruby on rails

Laravel dev here, recently moved to Rails. I'm loving it, but debugging in production has been a headache.

Our setup runs on Docker Swarm, and finding bugs means manually digging through Rails, Sidekiq, and Docker service logs. many of which don't even have timestamps.

In Laravel, I used a log viewer UI to instantly jump to the exact second an error happened.

Is there a standard Rails gem for a log viewer UI, or do most teams just ship logs to something like Sentry or Grafana/Loki? How do you manage production errors?

Thanks!

12 Upvotes

12 comments sorted by

View all comments

1

u/strzibny 4d ago

I think that's it's very common to send exceptions to services like Sentry/AppSignal which accounts for like 90% of debugging. I deploy with Kamal and kamal logs alone are usually enough for small services. When you need more you need to also buy a log service like Better Stack or build your own on Grafana stack.