标签: ruby-on-rails ruby-on-rails-4 log4r
当我升级到Rails 4时,我的日志级别始终处于DEBUG,即使我的production.rb中有config.logger.level = Logger::WARN
config.logger.level = Logger::WARN
以前在Rails 3.2上工作得很好,任何想法可能已经改变了?
答案 0 :(得分:3)
config.log_level
https://github.com/rails/rails/blob/master/railties/lib/rails/application/bootstrap.rb