Permalink
Browse files

Duping log handler. fixes #4668

  • Loading branch information...
1 parent a267090 commit c9cd0eb2d01c262b987070d739cf1d5e46672c10 @lunks lunks committed Jan 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit c9cd0eb

Please sign in to comment.