annotate config/environments/production.rb @ 1296:038ba2d95de8 redmine-2.2

Fix redmine-2.2 branch update (add missing svn files)
author Chris Cannam
date Fri, 14 Jun 2013 09:05:06 +0100
parents 433d4f72a19b
children b450a9d58aed
rev   line source
Chris@1115 1 # Settings specified here will take precedence over those in config/application.rb
Chris@1115 2 RedmineApp::Application.configure do
Chris@1115 3 # The production environment is meant for finished, "live" apps.
Chris@1115 4 # Code is not reloaded between requests
Chris@1115 5 config.cache_classes = true
Chris@0 6
Chris@1115 7 #####
Chris@1115 8 # Customize the default logger (http://ruby-doc.org/core/classes/Logger.html)
Chris@1115 9 #
Chris@1115 10 # Use a different logger for distributed setups
Chris@1115 11 # config.logger = SyslogLogger.new
Chris@1115 12 #
Chris@1115 13 # Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around.
Chris@1115 14 # When setting a new Logger, make sure to set it's log level too.
Chris@1115 15 #
Chris@1115 16 # config.logger = Logger.new(config.log_path, 7, 1048576)
Chris@1115 17 # config.logger.level = Logger::INFO
Chris@0 18
Chris@1115 19 # Full error reports are disabled and caching is turned on
Chris@1115 20 config.action_controller.perform_caching = true
Chris@0 21
Chris@1115 22 # Enable serving of images, stylesheets, and javascripts from an asset server
Chris@1115 23 # config.action_controller.asset_host = "http://assets.example.com"
Chris@0 24
Chris@1115 25 # Disable delivery errors if you bad email addresses should just be ignored
Chris@1115 26 config.action_mailer.raise_delivery_errors = false
Chris@0 27
Chris@1115 28 # No email in production log
Chris@1115 29 config.action_mailer.logger = nil
Chris@0 30
Chris@1115 31 config.active_support.deprecation = :log
Chris@1115 32 end