github / github/elastomer-client
Logging
- 主要言語
- Ruby
- スター
- 197
- フォーク
- 28
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
調査の方向性
Start by locating the Client class and tracing how it makes requests and receives responses. Review the project's existing logger conventions, then determine how to represent the request as a copyable curl command, handle large bodies, and include the response status without logging responses. Done means each request produces the agreed debug output with suitable tests.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- elasticsearch, ruby
- 領域
- api, observability
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100