-
Notifications
You must be signed in to change notification settings - Fork 614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The :log option treats nil as truthy rather than falsy #379
Comments
thanks for reporting this! the logging code was refactored after 2.0.3 and after checking the code on master, |
Thank you, Rubiii. |
released v2.1.0. please refer to the updated changelog and documentation for details. let me know how it works! |
rubiii, Thanks! It works mostly. Most debug output is now suppressed when passing in nil, but lines of this format are still output: D, [2013-02-03T06:42:53.962598 #28824] DEBUG -- : HTTPI GET request to epf.usps.gov (net_http) Do you want me to open up a separate issue for it? |
The :log option to Savon.client enables logging when it is "truthy" (that is, neither false nor nil):
When passing in "falsy" (either false or nil), however, the result is surprising for nil, where logging is enabled rather than disabled:
This is with savon 2.0.3
The text was updated successfully, but these errors were encountered: