lib/fourtrack/recorder.rb in fourtrack-0.2.0 vs lib/fourtrack/recorder.rb in fourtrack-0.2.1

- old
+ new

@@ -58,10 +58,10 @@ io_buf = StringIO.new @mux.synchronize do @logger.debug { "%s: Compressing %d records from PID %d" % [self, @buf.length, Process.pid] } z = Zlib::GzipWriter.new(io_buf) - @buf.each {|record| z.puts(JSON.dump(record) + "\n") } + @buf.each {|record| z.puts(record) } z.finish @buf.clear end @logger.debug { "%s: Flushing to %s, size before flush %d" % [self, @output_path, File.size(@output_path)] }