diff --git a/main.go b/main.go index 38a231a..de0897b 100644 --- a/main.go +++ b/main.go @@ -488,6 +488,10 @@ func (s *server) verifyJWS(ctx context.Context, w http.ResponseWriter, r *http.R func (s *server) ServeHTTP(w http.ResponseWriter, r *http.Request) { ctx := r.Context() + lg := slog.New(slog.NewJSONHandler(os.Stdout, nil)) + slog.SetDefault(lg) + lg.Info("Request", time.Now().Format("2026-12-18 18:06:00"), r.URL.Path) + switch { case (r.Method == http.MethodHead || r.Method == http.MethodGet) && r.URL.Path == "/acme/new-nonce": n := uuid.New().String()