Project

General

Profile

« Previous | Next » 

Revision 0888f3f5

Added by Marc Dequènes over 11 years ago

  • ID 0888f3f503f12b2b914c28d83d5db18b0cfc56bd

[fix] don't truncate log file at startup

View differences:

lib/cyborghood/base/logger.rb
38 38
    end
39 39

  
40 40
    def log_to_file(filename)
41
      file_outputter = Log4r::FileOutputter.new(filename, :filename => filename)
41
      file_outputter = Log4r::FileOutputter.new(filename, :filename => filename, :trunc => false)
42 42
      file_outputter.formatter = @default_formatter
43 43
      self.outputters << file_outputter
44 44
    end

Also available in: Unified diff