lib/spandx/gateways/http.rb in spandx-0.7.0 vs lib/spandx/gateways/http.rb in spandx-0.8.0
- old
+ new
@@ -21,10 +21,10 @@
response.is_a?(Net::HTTPSuccess)
end
def self.default_driver
@default_driver ||= Net::Hippie::Client.new.tap do |client|
- client.logger = ::Logger.new('http.log')
+ client.logger = Spandx.logger
client.follow_redirects = 3
end
end
end
end