Keeping Rails logs slim and trim
Add this to development.rb
and test.rb
in config/environments/
to clean up your development and test logs daily.
config.logger = ActiveSupport::Logger.new(config.paths['log'].first, "daily")
Check out the docs for more info.