Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

using the active support logger #4299

Merged
merged 1 commit into from

2 participants

@Karunakar

No description provided.

@tenderlove tenderlove merged commit e094b8d into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 4, 2012
  1. @Karunakar
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/deprecation/behaviors.rb
View
4 activesupport/lib/active_support/deprecation/behaviors.rb
@@ -34,8 +34,8 @@ def behavior=(behavior)
if defined?(Rails) && Rails.logger
Rails.logger
else
- require 'logger'
- Logger.new($stderr)
+ require 'active_support/logger'
+ ActiveSupport::Logger.new($stderr)
end
logger.warn message
logger.debug callstack.join("\n ") if debug
Something went wrong with that request. Please try again.