Permalink
Browse files

make the extremely useful logs debug level

  • Loading branch information...
1 parent e61ffe0 commit 3ae8d6d67cd86213c2e48d5471cf2634abc13bb3 @tenderlove tenderlove committed Nov 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/rack/logger.rb
@@ -24,8 +24,8 @@ def call(env)
def call_app(request, env)
# Put some space between requests in development logs.
if Rails.env.development?
- Rails.logger.info ''
- Rails.logger.info ''
+ Rails.logger.debug ''
+ Rails.logger.debug ''
end
Rails.logger.info started_request_message(request)

3 comments on commit 3ae8d6d

Contributor

bogdan replied Nov 9, 2012

Nice improvement.
Why is it enabled only in development?

I think in production and test it would useful as well.

wlipa replied Jan 6, 2013

An option to add this back by env would be great. I find the "smashed-together" log much harder to scan.

Please sign in to comment.