Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Duping log handler. fixes #4668

  • Loading branch information...
commit c9cd0eb2d01c262b987070d739cf1d5e46672c10 1 parent a267090
Pedro Nascimento lunks authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/buffered_logger.rb
2  activesupport/lib/active_support/buffered_logger.rb
View
@@ -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.