diff config/environments/production.rb @ 22:40f7cfd4df19

* Update to SVN trunk rev 4173
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 24 Sep 2010 14:06:04 +0100
parents 513646585e45
children 94944d00e43c
line wrap: on
line diff
--- a/config/environments/production.rb	Wed Aug 25 16:30:24 2010 +0100
+++ b/config/environments/production.rb	Fri Sep 24 14:06:04 2010 +0100
@@ -4,9 +4,14 @@
 # Code is not reloaded between requests
 config.cache_classes = true
 
+#####
+# Customize the default logger (http://ruby-doc.org/core/classes/Logger.html)
+#
 # Use a different logger for distributed setups
 # config.logger        = SyslogLogger.new
-
+#
+# Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around.
+# config.logger = Logger.new(config.log_path, 7, 1048576)
 
 # Full error reports are disabled and caching is turned on
 config.action_controller.consider_all_requests_local = false