Merged updates into stable branch
[feedcatcher.git] / config / environments / production.rb
index 27119d2d18b413cdb697ac890555cef3853be24c..a3f3c4a3f8d8efabb7c755f14155833bc0b40e1a 100644 (file)
@@ -15,6 +15,9 @@ config.action_view.cache_template_loading            = true
 # Use a different logger for distributed setups
 # config.logger = SyslogLogger.new
 
+# Rotate logs when the file grows to 10Mb, keep 10 old log files
+config.logger = Logger.new(config.log_path, 10, 10.megabytes)
+
 # Use a different cache store in production
 # config.cache_store = :mem_cache_store