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:
parent
b67a03cf0b
commit
e61ffe060e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue