1
我已閱讀,爲了看到更多的日誌我需要添加以下代碼行中我production.rb文件:見Heroku的多個日誌使用Rails
config.logger = Logger.new(STDOUT)
config.log_level = :info
如果我這樣做,我的應用程序崩潰與以下消息:
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/rack/log_tailer.rb:8:in `size': No such file or directory - log/production.log (Errno::ENOENT)
所以...我能做些什麼來看到更多的日誌?像我在開發中看到的那些?
感謝