Savon uses HTTPI to execute HTTP requests. HTTPI acts as an adapter for various Ruby HTTP client libraries (currently it supports: HTTPClient, Curb, and Net / HTTP). Prior to v0.9.0, the default HTTPI was to use an HTTPClient, log a warning when the library could not be loaded and return to using NetHTTP.
Starting with v0.9.0, HTTPI now tries to load HTTPClient, then Curb, and finally NetHTTP, without triggering a "warning".
As you mentioned, it still writes the adapter used for each request. You can either increase the default level of logs in your application, for example: info (HTTPI logs at: debug) or tell HTTPI so you donβt log anything through:
HTTPI.log = false
Ps. Note that disabling logging for v0.8.0 is an error. This has been fixed with v0.9.0.
rubiii
source share