From 1781d87477e07b441fe3de19e8aea08b98ea0fe7 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Sun, 26 Sep 2010 16:54:38 +0000 Subject: [PATCH] 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 --- config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index ac11f521..91af89ce 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 -- 2.11.0