diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-01-13 18:30:48 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-01-13 19:00:45 +0100 |
commit | e0a521cfcd13e4d1f0ae8ab96004289e1c020f71 (patch) | |
tree | 3cfc6d031c0946bd1b669f5a17d60be8998955d6 /activerecord/test/cases/mixin_test.rb | |
parent | 4f779e32d875209d917b01e4252ad34712178f26 (diff) | |
download | rails-e0a521cfcd13e4d1f0ae8ab96004289e1c020f71.tar.gz rails-e0a521cfcd13e4d1f0ae8ab96004289e1c020f71.tar.bz2 rails-e0a521cfcd13e4d1f0ae8ab96004289e1c020f71.zip |
Only lookup `config.log_level` for stdlib `::Logger`. Closes #11665.
This prevents Rails from assigning meaningless log levels to third
party loggers like log4r. If `Rails.logger` is not `kind_of?(::Logger)`
we simply assign the `config.log_level` as is.
This bug was introduced by #11665.
Diffstat (limited to 'activerecord/test/cases/mixin_test.rb')
0 files changed, 0 insertions, 0 deletions