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

- 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) + outputter = FileOutputter.new('log', :filename => log_file, :trunc => true) outputter.formatter = PatternFormatter.new :pattern => "%d - %l %g - %m" @@logger.outputters = outputter @@logger.level = INFO end