I\'d like to debug the request my Rails app makes with RestClient. The RestClient docs say:
To enable logging you can set RestClient.log w
To enable logging you can
set RestClient.log w
This worked for me, running on RestClient 1.8 and Rails 4.2.1:
::RestClient.log = Rails.logger