diff --git a/http-utils.go b/http-utils.go index eb62026..3a2045e 100644 --- a/http-utils.go +++ b/http-utils.go @@ -6,6 +6,7 @@ package main import ( "crypto/tls" + "log" "net/http" "github.com/go-ldap/ldap/v3" @@ -13,7 +14,7 @@ import ( func logRequest(handler http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - // log.Printf("%s %s %s\n", r.RemoteAddr, r.Method, r.URL) + log.Printf("%s %s %s\n", r.RemoteAddr, r.Method, r.URL) handler.ServeHTTP(w, r) }) }