lib/daemonizer.rb in daemonizer-0.3.3 vs lib/daemonizer.rb in daemonizer-0.3.4

- old
+ new

@@ -33,10 +33,10 @@ end end def self.init_logger(name, log_file) @@logger = Logger.new name - outputter = FileOutputter.new('log', :filename => log_file, :trunc => true) + outputter = FileOutputter.new('log', :filename => log_file, :trunc => false) outputter.formatter = PatternFormatter.new :pattern => "%d - %l %g - %m" @@logger.outputters = outputter @@logger.level = INFO end