Project

General

Profile

« Previous | Next » 

Revision 0888f3f5

Added by Marc Dequènes almost 14 years ago

  • ID 0888f3f503f12b2b914c28d83d5db18b0cfc56bd

[fix] don't truncate log file at startup

View differences:

lib/cyborghood/base/logger.rb
end
def log_to_file(filename)
file_outputter = Log4r::FileOutputter.new(filename, :filename => filename)
file_outputter = Log4r::FileOutputter.new(filename, :filename => filename, :trunc => false)
file_outputter.formatter = @default_formatter
self.outputters << file_outputter
end

Also available in: Unified diff