mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ffc8475db8
We prepend a check against the thread-local level to Logger#add, but because it proceeds to check against the thread-global level, only setting a quieter thread-local level works. The quietest of the two wins. Fix by reimplementing #add entirely. It's unfortunate to have to do this, but I've already patched upstream Logger to prefer the level instance method over the @level instance variable, so we'll be able to avoid touching #add at all in the future. See https://github.com/ruby/logger/pull/41. |
||
---|---|---|
.. | ||
active_support | ||
active_support.rb |