github / github/elastomer-client

Logging

Abierto
#5 6 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Ruby
Estrellas
197
Forks
28
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.