Suppress 'Rendered' messages in production.log
This commit is contained in:
parent
12d162993e
commit
b816389182
1 changed files with 5 additions and 0 deletions
|
@ -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 ]
|
||||
|
||||
|
|
Loading…
Reference in a new issue