Mega Code Archive

 
Categories / Ruby / Development
 

Keep data for today and the past 20 days

require 'logger' Logger.new('application.log', 20, 'daily')