From 402c6cf82d71bdb633eb1355e65d64fb417860fb Mon Sep 17 00:00:00 2001 From: wood chen Date: Sun, 3 Nov 2024 08:15:05 +0800 Subject: [PATCH] refactor(api_handler): remove unused log statement --- handlers/api_handler.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/handlers/api_handler.go b/handlers/api_handler.go index 37f6dcb..5fd578a 100644 --- a/handlers/api_handler.go +++ b/handlers/api_handler.go @@ -79,8 +79,6 @@ func HandleAPIRequest(w http.ResponseWriter, r *http.Request) { statsManager.IncrementCalls(endpoint) duration := time.Since(start) - log.Printf("请求:%s %s,来自 %s -来源:%s -持续时间: %v - 重定向至: %s", - r.Method, r.URL.Path, realIP, sourceInfo, duration, randomURL) log.Printf(" %12s | %15s | %-6s | %-50s | %s | %-50s", duration, // 持续时间