Permalink
Browse files

disable success api log

  • Loading branch information...
sorah committed Oct 31, 2015
1 parent c832289 commit 6927be04ec4e68e6c850b2d349d24382291d7c60
Showing with 1 addition and 1 deletion.
  1. +1 −1 5f/webapp/ruby/app.rb
View
@@ -210,7 +210,7 @@ def fetch_http(headers, params, call_uri, conf)
$stderr.puts "[API CALL][HTTP][ERROR] #{method} #{call_uri} (#{"%.2f" % (e-s)}s, #{err.inspect}) #{headers.inspect}"
raise
end
- $stderr.puts "logtype:api\ttime:#{e.iso8601}\tmethod:#{method}\turi:#{call_uri}\treqtime:#{"%.3f" % (e-s)}"
+ #$stderr.puts "logtype:api\ttime:#{e.iso8601}\tmethod:#{method}\turi:#{call_uri}\treqtime:#{"%.3f" % (e-s)}"
JSON.parse(res.body)
end
end

0 comments on commit 6927be0

Please sign in to comment.