From 3dea7c151e9db000b1cd013e12038e45adf14e1b Mon Sep 17 00:00:00 2001 From: "manu.somolinos" Date: Tue, 31 Aug 2021 12:28:47 +0200 Subject: [PATCH] HTTP: remove trace loggers in successful path --- http/responses.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/http/responses.go b/http/responses.go index 0619461..8801ae7 100644 --- a/http/responses.go +++ b/http/responses.go @@ -7,14 +7,12 @@ import ( ) func ToResponse(rawData interface{}, status int) events.APIGatewayV2HTTPResponse { - log.Debug("RawData: ", rawData) var response string jsonBytes, err := json.Marshal(rawData) if err != nil { log.Error("Error converting to json ", rawData) response = "[]" } else { - log.Debug("JSON:", string(jsonBytes)) response = string(jsonBytes) if response == "null" { response = "[]"