Skip to content

Commit

Permalink
do not log healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Oct 2, 2024
1 parent dd9a4e5 commit a5fc16f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ func main() {
} else {
// or make this an available API ala crayfish
http.HandleFunc("/healthcheck", func(w http.ResponseWriter, r *http.Request) {
slog.Info("/healthcheck", "method", r.Method, "ip", r.RemoteAddr, "proto", r.Proto)
w.WriteHeader(http.StatusOK)
fmt.Fprintln(w, "OK")
})
Expand Down

0 comments on commit a5fc16f

Please sign in to comment.