summaryrefslogtreecommitdiffstats
path: root/config/environments
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-26 16:54:38 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-26 16:54:38 +0000
commit1781d87477e07b441fe3de19e8aea08b98ea0fe7 (patch)
tree903ccd46dc202b60940655df1eb67b78787c6a97 /config/environments
parent2f380a7985929b8b53325569b7c1c5f5230b101c (diff)
downloadredmine-1781d87477e07b441fe3de19e8aea08b98ea0fe7.tar.gz
redmine-1781d87477e07b441fe3de19e8aea08b98ea0fe7.zip
Add documentation about setting the log level. #6135
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4182 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index ac11f5219..91af89ce2 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -11,7 +11,10 @@ config.cache_classes = true
# config.logger = SyslogLogger.new
#
# Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around.
+# When setting a new Logger, make sure to set it's log level too.
+#
# config.logger = Logger.new(config.log_path, 7, 1048576)
+# config.logger.level = Logger::INFO
# Full error reports are disabled and caching is turned on
config.action_controller.consider_all_requests_local = false