lib/rack/geo_locale.rb in rack-geo-locale-0.0.10 vs lib/rack/geo_locale.rb in rack-geo-locale-0.0.11

- old
+ new

@@ -32,19 +32,19 @@ if database? if addr = env["REMOTE_ADDR"] addr = env["HTTP_X_FORWARDED_FOR"] if env["HTTP_X_FORWARDED_FOR"] addr = addr.split(",").first.strip - puts "INFO: Trying to lookup #{addr}" + # puts "INFO: Trying to lookup #{addr}" result = @geoip.country(addr).country_code2 if result != "--" - puts "INFO: Found country for #{addr} #{result}" + # puts "INFO: Found country for #{addr} #{result}" result else - puts "INFO: Didn't find country for #{addr}" + # puts "INFO: Didn't find country for #{addr}" end else puts "WARNING: Didn't find env['REMOTE_ADDR']" end else