标签: ruby-on-rails logging server webrick
目前正在运行:RAILS_ENV=staging bundle exec rails s
RAILS_ENV=staging bundle exec rails s
控制台输出为零(它正好记录到staging.log)。我希望获得一个控制台输出,就像development模式一样,或者我运行bundle exec rails s。
development
bundle exec rails s
修改
发现这个,没有答案: https://stackoverflow.com/questions/27101692/how-to-show-log-on-webrick-console-under-production-mode