coder / coder/code-server

Add debug logging around requests

Abierto
#7,396 0 comentarios 1 reacción 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
TypeScript
Estrellas
79.3k
Forks
6.8k
Merge medio
2 d 6 h
PR fusionados (30 d)
41

Descripción

We should log the start and stop of all requests. Probably a request ID, endpoint, method, and payload for the start log, and then a request ID, status code, response body, and duration for the end log.

And some auth, cookie info, and rate limit info to debug login issues. It would be convenient to see something like "returning a 401 because the cookie did not match the value stored in `password`" or "request has been rate limited" or whatever the case may be.

Additionally, a configuration knob for the rate limit would be useful for debugging (perhaps just a disable toggle).

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.