Commit b8163891 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Suppress 'Rendered' messages in production.log

parent 12d16299
...@@ -33,6 +33,11 @@ Gitlab::Application.configure do ...@@ -33,6 +33,11 @@ Gitlab::Application.configure do
# See everything in the log (default is :info) # See everything in the log (default is :info)
# config.log_level = :debug # 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 # Prepend all log lines with the following tags
# config.log_tags = [ :subdomain, :uuid ] # config.log_tags = [ :subdomain, :uuid ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment