From d073116455d971b39091188a1644d204424b40e8 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 6 Oct 2012 22:16:39 -0700 Subject: [PATCH] Gotta log each spacer line separately to ensure each is tagged --- railties/lib/rails/rack/logger.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/railties/lib/rails/rack/logger.rb b/railties/lib/rails/rack/logger.rb index 2b21922e9aa..3f59bb8733e 100644 --- a/railties/lib/rails/rack/logger.rb +++ b/railties/lib/rails/rack/logger.rb @@ -23,7 +23,10 @@ module Rails def call_app(request, env) # Put some space between requests in development logs. - Rails.logger.info "\n\n" if Rails.env.development? + if Rails.env.development? + Rails.logger.info '' + Rails.logger.info '' + end Rails.logger.info started_request_message(request) @app.call(env)