From b816389182084bd0234d8409bdd4cfef41f8e502 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Mon, 24 Mar 2014 09:52:50 +0100 Subject: Suppress 'Rendered' messages in production.log --- config/environments/production.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config/environments') diff --git a/config/environments/production.rb b/config/environments/production.rb index 9ac4622abc2..87c5efd2142 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -33,6 +33,11 @@ Gitlab::Application.configure do # See everything in the log (default is :info) # config.log_level = :debug + # Suppress 'Rendered template ...' messages in the log + %w{render_template render_partial render_collection}.each do |event| + ActiveSupport::Notifications.unsubscribe "#{event}.action_view" + end + # Prepend all log lines with the following tags # config.log_tags = [ :subdomain, :uuid ] -- cgit v1.2.3