1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #23443 from prathamesh-sonpatki/fix-logging-in-development

Put some space for non-assets requests in development mode
This commit is contained in:
Matthew Draper 2016-02-04 01:59:29 +10:30
commit 8a84f1c047

View file

@ -26,6 +26,8 @@ module ActionController
end
message = "Completed #{status} #{Rack::Utils::HTTP_STATUS_CODES[status]} in #{event.duration.round}ms"
message << " (#{additions.join(" | ".freeze)})" unless additions.blank?
message << "\n\n" if Rails.env.development?
message
end
end