
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'
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.
What about you? Still grepping through compressed files?

Top comments (0)