i am using like this, config.logger = Logger.new(Rails.root.join('log', "#{Rails.env}.log"), 10, 10*1024). Its working perfectly.It clear the log the file reach 10240bytes.
i taken back up of the log file, the name of the file is "development.log.0","development.log.1".. Now i want "development.log.0.2012-09-24"(that is i want to add Time.now at the end of the file name. Can any one help me??