projects
/
feedcatcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated README.rdoc again
[feedcatcher.git]
/
config
/
environments
/
production.rb
diff --git
a/config/environments/production.rb
b/config/environments/production.rb
index 27119d2d18b413cdb697ac890555cef3853be24c..a3f3c4a3f8d8efabb7c755f14155833bc0b40e1a 100644
(file)
--- a/
config/environments/production.rb
+++ b/
config/environments/production.rb
@@
-15,6
+15,9
@@
config.action_view.cache_template_loading = true
# Use a different logger for distributed setups
# config.logger = SyslogLogger.new
# 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
# Use a different cache store in production
# config.cache_store = :mem_cache_store