Commit 92c811e8d2d96fe96f60145ec6a60b4132ada2d5
Exists in
spb-stable
and in
3 other branches
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
config/environments/production.rb
... | ... | @@ -33,6 +33,12 @@ Gitlab::Application.configure do |
33 | 33 | # See everything in the log (default is :info) |
34 | 34 | # config.log_level = :debug |
35 | 35 | |
36 | + # Suppress 'Rendered template ...' messages in the log | |
37 | + # source: http://stackoverflow.com/a/16369363 | |
38 | + %w{render_template render_partial render_collection}.each do |event| | |
39 | + ActiveSupport::Notifications.unsubscribe "#{event}.action_view" | |
40 | + end | |
41 | + | |
36 | 42 | # Prepend all log lines with the following tags |
37 | 43 | # config.log_tags = [ :subdomain, :uuid ] |
38 | 44 | ... | ... |