]> source.dussan.org Git - redmine.git/commitdiff
Add documentation about setting the log level. #6135
authorEric Davis <edavis@littlestreamsoftware.com>
Sun, 26 Sep 2010 16:54:38 +0000 (16:54 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Sun, 26 Sep 2010 16:54:38 +0000 (16:54 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4182 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/environments/production.rb

index ac11f52193c7779f318d0f63f410bad224df37cf..91af89ce24f42af3d22e8aeac13ff7d8ac92fd30 100644 (file)
@@ -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