lib/filum.rb in filum-1.0.1 vs lib/filum.rb in filum-1.0.2
- old
+ new
@@ -37,10 +37,10 @@
dir = File.dirname(logfile)
unless File.directory?(dir)
FileUtils.mkdir_p(dir)
end
- @logger ||= Filum::Logger.new(logfile)
+ @logger ||= Filum::Logger.new(logfile, shift_age='daily')
@logger.level = Logger::INFO
@logger
end
end