From 7ca7c0ef289595d79ed1a59af9873f4fcc29918e Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Wed, 3 Feb 2016 13:33:31 +0530 Subject: Put some space for non-assets requests in development mode - Fixes #23428. --- actionpack/lib/action_controller/log_subscriber.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actionpack') diff --git a/actionpack/lib/action_controller/log_subscriber.rb b/actionpack/lib/action_controller/log_subscriber.rb index 4c9f14e409..d1d6acac26 100644 --- a/actionpack/lib/action_controller/log_subscriber.rb +++ b/actionpack/lib/action_controller/log_subscriber.rb @@ -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 -- cgit v1.2.3