Clean up Sent logging message
diff --git a/api/api.go b/api/api.go index 71e9b43..f637ff7 100644 --- a/api/api.go +++ b/api/api.go
@@ -139,7 +139,7 @@ if err != nil { return fmt.Errorf("could not complete health check: %v", err) } - log.Println("health check success!") + log.Printf("health check success!") return nil } @@ -148,7 +148,7 @@ httpReq, err := http.NewRequest("POST", conn.getURL(rpcName), bytes.NewBuffer([]byte(req))) httpReq.Header.Set("Content-Type", "application/json") httpReq.Header.Set("Authorization", conn.credentials) - log.Printf("%v Request. Sent(unix): %s, Request %v\n", rpcName, time.Now().UTC().Format(time.RFC850), httpReq) + log.Printf("%v Request. Sent(unix): %s, Url: %v, Method: %v, Header: %v, Body: %v\n", rpcName, time.Now().UTC().Format(time.RFC850), httpReq.URL, httpReq.Method, httpReq.Header, httpReq.Body) httpResp, err := conn.client.Do(httpReq) if err != nil {