1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

copy the log level from the config settings

This commit is contained in:
Aaron Patterson 2012-11-09 13:45:51 +09:00
parent b67a03cf0b
commit e61ffe060e

View file

@ -72,6 +72,7 @@ module Rails
console = ActiveSupport::Logger.new($stdout)
console.formatter = Rails.logger.formatter
console.level = Rails.logger.level
Rails.logger.extend(ActiveSupport::Logger.broadcast(console))
end