github / github/elastomer-client
Logging
Open
- Dominant language
- Ruby
- Stars
- 197
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
We need to add some logging to the `Client` class. For each request the client makes, we should output a detailed debug message to a logger of some sort. I really like how Tire does it; logging a curl command that you can copy/paste and use directly. Also, outputting the status code of the response would be good, too ...
```
[200] curl -XGET 'http://localhost:9200/index/_search' -d '...'
```
Not sure how to handle large bodies and what not. And I don't think we need to log responses.
cc @github/search
Contributor guide
Assessment
This issue has not been assessed yet.