##// END OF EJS Templates
prevent "config.log_level" DEPRECATION WARNING...
Toshi MARUYAMA -
r13517:3a1e7106f4c8
parent child
Show More
@@ -1,25 +1,27
1 1 Rails.application.configure do
2 2 # Settings specified here will take precedence over those in config/application.rb
3 3
4 config.log_level = :info
5
4 6 # Code is not reloaded between requests.
5 7 config.cache_classes = true
6 8
7 9 # Eager load code on boot. This eager loads most of Rails and
8 10 # your application in memory, allowing both threaded web servers
9 11 # and those relying on copy on write to perform better.
10 12 # Rake tasks automatically ignore this option for performance.
11 13 config.eager_load = true
12 14
13 15 # Full error reports are disabled and caching is turned on.
14 16 config.consider_all_requests_local = false
15 17 config.action_controller.perform_caching = true
16 18
17 19 # Disable delivery errors
18 20 config.action_mailer.raise_delivery_errors = false
19 21
20 22 # No email in production log
21 23 config.action_mailer.logger = nil
22 24
23 25 # Print deprecation notices to the Rails logger.
24 26 config.active_support.deprecation = :log
25 27 end
General Comments 0
You need to be logged in to leave comments. Login now