Suppress 'Rendered' messages in production.log

This commit is contained in:
Jacob Vosmaer 2014-03-24 09:52:50 +01:00
parent 12d162993e
commit b816389182
1 changed files with 5 additions and 0 deletions

View File

@ -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 ]