@@ -1,27 +1,30 | |||
|
1 | 1 | # Settings specified here will take precedence over those in config/environment.rb |
|
2 | 2 | |
|
3 | 3 | # The production environment is meant for finished, "live" apps. |
|
4 | 4 | # Code is not reloaded between requests |
|
5 | 5 | config.cache_classes = true |
|
6 | 6 | |
|
7 | 7 | ##### |
|
8 | 8 | # Customize the default logger (http://ruby-doc.org/core/classes/Logger.html) |
|
9 | 9 | # |
|
10 | 10 | # Use a different logger for distributed setups |
|
11 | 11 | # config.logger = SyslogLogger.new |
|
12 | 12 | # |
|
13 | 13 | # Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around. |
|
14 | # When setting a new Logger, make sure to set it's log level too. | |
|
15 | # | |
|
14 | 16 | # config.logger = Logger.new(config.log_path, 7, 1048576) |
|
17 | # config.logger.level = Logger::INFO | |
|
15 | 18 | |
|
16 | 19 | # Full error reports are disabled and caching is turned on |
|
17 | 20 | config.action_controller.consider_all_requests_local = false |
|
18 | 21 | config.action_controller.perform_caching = true |
|
19 | 22 | |
|
20 | 23 | # Enable serving of images, stylesheets, and javascripts from an asset server |
|
21 | 24 | # config.action_controller.asset_host = "http://assets.example.com" |
|
22 | 25 | |
|
23 | 26 | # Disable delivery errors if you bad email addresses should just be ignored |
|
24 | 27 | config.action_mailer.raise_delivery_errors = false |
|
25 | 28 | |
|
26 | 29 | # No email in production log |
|
27 | 30 | config.action_mailer.logger = nil |
General Comments 0
You need to be logged in to leave comments.
Login now