chore: add logging on readyz route

This commit is contained in:
2024-11-02 13:05:43 +01:00
parent a6b9b7cb76
commit 0177427b92

View File

@@ -107,6 +107,7 @@ func (heathRoute HealthCheckRoute) HealthCheckHandler(w http.ResponseWriter, r *
}
}
func (heathRoute HealthCheckRoute) HealthReadyHandler(w http.ResponseWriter, r *http.Request) {
logger.Info("%s %s %s %s", r.Method, r.RemoteAddr, r.URL, r.UserAgent())
response := HealthCheckRouteResponse{
Name: "Goma Gateway",
Status: "healthy",