From 4821391af9475ecee658a63538401988de1bd891 Mon Sep 17 00:00:00 2001 From: ShiKhu Date: Fri, 22 Oct 2021 15:58:16 +0200 Subject: [PATCH] dev (backend-http): request log --- backend/services/http/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/services/http/main.go b/backend/services/http/main.go index 7853dc624..cac5a2842 100644 --- a/backend/services/http/main.go +++ b/backend/services/http/main.go @@ -76,6 +76,9 @@ func main() { return } + log.Printf("Request: %v - %v ", r.Method, r.URL.Path) + + switch r.URL.Path { case "/": w.WriteHeader(http.StatusOK)