##// END OF EJS Templates
Added some documentation about the Rails Logger. #6135...
Eric Davis -
r3982:eb1f58f9624a
parent child
Show More
@@ -1,22 +1,27
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 #####
8 # Customize the default logger (http://ruby-doc.org/core/classes/Logger.html)
9 #
7 10 # Use a different logger for distributed setups
8 11 # config.logger = SyslogLogger.new
9
12 #
13 # Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around.
14 # config.logger = Logger.new(config.log_path, 7, 1048576)
10 15
11 16 # Full error reports are disabled and caching is turned on
12 17 config.action_controller.consider_all_requests_local = false
13 18 config.action_controller.perform_caching = true
14 19
15 20 # Enable serving of images, stylesheets, and javascripts from an asset server
16 21 # config.action_controller.asset_host = "http://assets.example.com"
17 22
18 23 # Disable delivery errors if you bad email addresses should just be ignored
19 24 config.action_mailer.raise_delivery_errors = false
20 25
21 26 # No email in production log
22 27 config.action_mailer.logger = nil
General Comments 0
You need to be logged in to leave comments. Login now