production.rb 1.56 KB
Newer Older
1
#-- encoding: UTF-8
2 3
#-- copyright
# ChiliProject is a project management system.
4
#
Holger Just's avatar
Holger Just committed
5
# Copyright (C) 2010-2012 the ChiliProject Team
6
#
7 8 9 10
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
11
#
12 13 14
# See doc/COPYRIGHT.rdoc for more details.
#++

Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
15 16 17 18 19 20
# Settings specified here will take precedence over those in config/environment.rb

# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
config.cache_classes = true

21 22 23
#####
# Customize the default logger (http://ruby-doc.org/core/classes/Logger.html)
#
Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
24 25
# Use a different logger for distributed setups
# config.logger        = SyslogLogger.new
26 27
#
# Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around.
28 29
# When setting a new Logger, make sure to set it's log level too.
#
30
# config.logger = Logger.new(config.log_path, 7, 1048576)
31
# config.logger.level = Logger::INFO
Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
32 33 34 35 36 37 38

# Full error reports are disabled and caching is turned on
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching             = true

# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host                  = "http://assets.example.com"
39

Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
40 41
# Disable delivery errors if you bad email addresses should just be ignored
config.action_mailer.raise_delivery_errors = false
42 43

# No email in production log
44
config.action_mailer.logger = nil