From 3072bed39718b59503a8dd0251bf4673bd6cdca9 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 7 Mar 2024 12:13:37 +0000 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E8=AF=B7=E6=B1=82=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http/data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/data.go b/http/data.go index 70b0815d..c78ea198 100644 --- a/http/data.go +++ b/http/data.go @@ -67,7 +67,7 @@ func handle(fn handleFunc, prefix string, store *storage.Storage, server *settin }) clientIP := realip.FromRequest(r) - log.Printf("%s: %v %s %v", r.URL.Path, status, clientIP, err) + log.Printf("%s %s: %v %s %v", r.Method, r.URL.Path, status, clientIP, err) if status != 0 { txt := http.StatusText(status) http.Error(w, strconv.Itoa(status)+" "+txt, status)