Skip to content
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

No request logging #58

Closed
mperham opened this issue Jul 17, 2012 · 4 comments
Closed

No request logging #58

mperham opened this issue Jul 17, 2012 · 4 comments

Comments

@mperham
Copy link

mperham commented Jul 17, 2012

The readme says that by default HTTP requests are logged to STDOUT. This does not appear to be the case, even when I set HTTPI.log = true. How can I log the request and response payloads for debugging purposes?

@rubiii
Copy link
Contributor

rubiii commented Jul 18, 2012

hi mike. the wording is probably misleading. currently, httpi only logs the http method and the adapter:
https://github.com/rubiii/httpi/blob/master/lib/httpi.rb#L192

@rogerleite
Copy link
Member

@rubiii I can think on something about logging request and response.
@mperham What do you think?

@rubiii
Copy link
Contributor

rubiii commented Dec 21, 2012

@rogerleite sure, why not. the current log output is quite useless to be honest. if you're going to add more log output, i think we should change the way logging works in general. i'll open an issue to describe what i mean.

@rubiii
Copy link
Contributor

rubiii commented Dec 21, 2012

@rogerleite #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants