diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/url_validator.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config/initializers/url_validator.rb b/config/initializers/url_validator.rb index 15635e0..d956d04 100644 --- a/config/initializers/url_validator.rb +++ b/config/initializers/url_validator.rb @@ -47,11 +47,10 @@ class RedirectFollower def initialize(url, limit=5) @url, @redirect_limit = url, limit - logger.level = Logger::INFO end def logger - @logger ||= Logger.new(STDOUT) + @logger ||= Rails.logger end def resolve @@ -82,4 +81,4 @@ class RedirectFollower response['location'] end end -end
\ No newline at end of file +end |