Commit 7862201d authored by Jacob Vosmaer's avatar Jacob Vosmaer

Add source for 'Rendered' message suppression

parent b8163891
......@@ -34,6 +34,7 @@ Gitlab::Application.configure do
# config.log_level = :debug
# Suppress 'Rendered template ...' messages in the log
# source: http://stackoverflow.com/a/16369363
%w{render_template render_partial render_collection}.each do |event|
ActiveSupport::Notifications.unsubscribe "#{event}.action_view"
end
......
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