Just came across this on a rails forum (post by Freezzo), rails production.log files can grow very large - but no chron job required - this is very handy.
where ‘daily’ can be ‘daily’ to ‘weekly’, ‘monthly’, ‘5mb’, etc…
config.logger = Logger.new("#{RAILS_ROOT}/log/#{ENV['RAILS_ENV']}.log", 'daily')
where ‘daily’ can be ‘daily’ to ‘weekly’, ‘monthly’, ‘5mb’, etc…