aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/rack/logger.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2012-10-06 22:16:39 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2012-10-06 22:16:39 -0700
commitd073116455d971b39091188a1644d204424b40e8 (patch)
treebd81e8143cdb02f5bfba9e4c27747deb216a1cdd /railties/lib/rails/rack/logger.rb
parent1a7049906ee6735bae058e9985a3806d08d9746b (diff)
downloadrails-d073116455d971b39091188a1644d204424b40e8.tar.gz
rails-d073116455d971b39091188a1644d204424b40e8.tar.bz2
rails-d073116455d971b39091188a1644d204424b40e8.zip
Gotta log each spacer line separately to ensure each is tagged
Diffstat (limited to 'railties/lib/rails/rack/logger.rb')
-rw-r--r--railties/lib/rails/rack/logger.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/railties/lib/rails/rack/logger.rb b/railties/lib/rails/rack/logger.rb
index 2b21922e9a..3f59bb8733 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)