# File httpd/lib/symbiosis/apache_logger.rb, line 302 def close_filehandles self.pause unless self.paused? ([@default_filehandle] + self.filehandles).flatten.each do |fh| # # Don't try and close things that aren't Files # next unless fh.is_a?(File) # # Don't try to close stuff that is already closed. # next if fh.closed? begin # # Flush to disc! # warn "#{$0}: Flushing and closing #{fh.path}" if $VERBOSE fh.flush fh.close rescue IOError # ignore end end end