fix_: debug log

This commit is contained in:
Igor Sirotin 2024-09-19 17:42:03 +01:00
parent f8c281ce14
commit 9f6bfa6a36
No known key found for this signature in database
GPG Key ID: 425E227CAAB81F95
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ func (s *Server) signals(w http.ResponseWriter, r *http.Request) {
} }
func (s *Server) addEndpointWithResponse(name string, handler func(string) string) { func (s *Server) addEndpointWithResponse(name string, handler func(string) string) {
log.Info("adding endpoint", "name", name) log.Debug("adding endpoint", "name", name)
s.mux.HandleFunc(name, func(w http.ResponseWriter, r *http.Request) { s.mux.HandleFunc(name, func(w http.ResponseWriter, r *http.Request) {
request, err := io.ReadAll(r.Body) request, err := io.ReadAll(r.Body)
if err != nil { if err != nil {