DEV Community

Germán Alberto Gimenez Silva
Germán Alberto Gimenez Silva

Posted on • Originally published at rubystacknews.com on

Rails Logs: A Blessing in Development, a Headache in Production

Rails Logs: A Blessing in Development, a Headache in Production
Rails Logs: A Blessing in Development, a Headache in Production

March 31, 2026

The Love Affair

You know the feeling. Local machine, Rails server running, something breaks. You glance at the terminal and there it is: a beautiful stack trace with every detail you need.


Started GET "/articles/999" for 127.0.0.1 at 2026-03-31 10:23:45 -0300
Processing by ArticlesController#show as HTML
  Article Load (0.8ms) SELECT * FROM articles WHERE id = 999 LIMIT 1
Completed 404 Not Found in 15ms

ActiveRecord::RecordNotFound (Couldn't find Article with 'id'=999):
app/controllers/articles_controller.rb:7:in `show'
Enter fullscreen mode Exit fullscreen mode

HTTP method, path, controller, action, SQL query, error, line of code. Everything. In development, logs are a blessing.

Then you need to find what happened in production three weeks ago. That’s when the blessing becomes a curse.


👉 Read the full article.

Rails Logs: A Blessing in Development, a Headache in Production – Linking Ruby knowledge from the most remote places in the world.

Rails Logs: A Blessing in Development, a Headache in Production March 31, 2026 The Love Affair 🚀 See the LIVE DEMO in action MapView Render maps directly from your backend no external APIs required…

favicon rubystacknews.com

What about you? Still grepping through compressed files?

Article content

Top comments (0)