From a7615c522020adac9dd5c2c28bf89c622118ae8a Mon Sep 17 00:00:00 2001 From: Vinod Damle Date: Tue, 1 Mar 2022 14:18:21 -0500 Subject: [PATCH] Remove newline between fields in log Signed-off-by: Vinod Damle --- internal/contractgateway/rest2eth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/contractgateway/rest2eth.go b/internal/contractgateway/rest2eth.go index bcd21aaa..3bab04f6 100644 --- a/internal/contractgateway/rest2eth.go +++ b/internal/contractgateway/rest2eth.go @@ -727,7 +727,7 @@ func (r *rest2eth) lookupTransaction(res http.ResponseWriter, req *http.Request, func (r *rest2eth) restAsyncReply(res http.ResponseWriter, req *http.Request, asyncResponse messages.WebhookReply) { resBytes, _ := json.Marshal(asyncResponse) status := 202 // accepted - log.Infof("<-- %s %s [%d]:\n%s", req.Method, req.URL, status, string(resBytes)) + log.Infof("<-- %s %s [%d]: %s", req.Method, req.URL, status, string(resBytes)) log.Debugf("<-- %s", resBytes) res.Header().Set("Content-Type", "application/json") res.WriteHeader(status)