Heroku: see params and sql activity in logs?

前端 未结 6 2173
不思量自难忘°
不思量自难忘° 2020-12-07 22:52

When i view my heroku logs on the server (with heroku logs --tail --app myapp) i see something like this:

2011-06-21T14:09:25+00:00 app[web.1]:          


        
6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 23:48

    The real problem is actually due to the way Heroku works in conjunction with rails. The right way to solve this is to add: gem 'rails_12factor', group: :production

    See https://devcenter.heroku.com/articles/rails-integration-gems for more info on the matter

提交回复
热议问题