Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #4675 from lunks/3-2-stable

Duping log handler on buffered logger silencer.
  • Loading branch information...
commit 1a93eaae4e67d06c025912f32cae630b04a8ec68 2 parents b023921 + c9cd0eb
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/buffered_logger.rb
View
2  activesupport/lib/active_support/buffered_logger.rb
@@ -30,7 +30,7 @@ module Severity
def silence(temporary_level = ERROR)
if silencer
begin
- logger = self.class.new @log_dest, temporary_level
+ logger = self.class.new @log_dest.dup, temporary_level
yield logger
ensure
logger.close
Please sign in to comment.
Something went wrong with that request. Please try again.