From 22f2a0c1f409119a3e3fc6fa4c7bc4e795fb40c8 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 4 Sep 2013 09:39:16 +1000 Subject: [PATCH] update rails 4, use log level info in profile for better accuracy --- Gemfile_rails4.lock | 2 +- config/environments/profile.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Gemfile_rails4.lock b/Gemfile_rails4.lock index 349d219bea6..513364a7754 100644 --- a/Gemfile_rails4.lock +++ b/Gemfile_rails4.lock @@ -33,7 +33,7 @@ GIT GIT remote: git://github.com/rails/rails.git - revision: 8487692903c05e7ba94b7b02c19e96589be091d4 + revision: 025b63db308fbbf942a3bc2673d4aadab968c524 branch: 4-0-stable specs: actionmailer (4.0.0) diff --git a/config/environments/profile.rb b/config/environments/profile.rb index 2e51ad46812..31a652e0a16 100644 --- a/config/environments/profile.rb +++ b/config/environments/profile.rb @@ -4,6 +4,8 @@ Discourse::Application.configure do # Code is not reloaded between requests config.cache_classes = true + config.log_level = :info + # Full error reports are disabled and caching is turned on config.consider_all_requests_local = false config.action_controller.perform_caching = true