# File lib/logging/appenders/rolling_file.rb, line 171 def reopen @mutex.synchronize { if defined? @io and @io flush @io.close rescue nil end @io = ::File.new(@fn, 'a+') } super self end