diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-11-09 13:45:51 +0900 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-11-09 13:46:18 +0900 |
commit | e61ffe060eb94f3a86236ce73b8b878aa6a751c5 (patch) | |
tree | aeb0dbcb07699a1ad25df59ac876bf2b4fa1e3cf /railties/lib/rails | |
parent | b67a03cf0b58d311b915af2d4b36012b5f394fea (diff) | |
download | rails-e61ffe060eb94f3a86236ce73b8b878aa6a751c5.tar.gz rails-e61ffe060eb94f3a86236ce73b8b878aa6a751c5.tar.bz2 rails-e61ffe060eb94f3a86236ce73b8b878aa6a751c5.zip |
copy the log level from the config settings
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/commands/server.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb index 80fdc06cd2..0b897d736d 100644 --- a/railties/lib/rails/commands/server.rb +++ b/railties/lib/rails/commands/server.rb @@ -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 |