diff --git a/src/main/java/com/ibm/watson/modelmesh/payload/Payload.java b/src/main/java/com/ibm/watson/modelmesh/payload/Payload.java index 6dcafd17..1284f393 100644 --- a/src/main/java/com/ibm/watson/modelmesh/payload/Payload.java +++ b/src/main/java/com/ibm/watson/modelmesh/payload/Payload.java @@ -124,8 +124,6 @@ public String toString() { ", modelId='" + modelId + '\'' + ", method='" + method + '\'' + ", status=" + (status == null ? "request" : String.valueOf(status)) + - ", metadata=" + metadata + - ", data=" + (data != null ? data.readableBytes() + "B" : "") + '}'; } } diff --git a/src/main/java/com/ibm/watson/modelmesh/payload/RemotePayloadProcessor.java b/src/main/java/com/ibm/watson/modelmesh/payload/RemotePayloadProcessor.java index 23c2fba1..f48600dc 100644 --- a/src/main/java/com/ibm/watson/modelmesh/payload/RemotePayloadProcessor.java +++ b/src/main/java/com/ibm/watson/modelmesh/payload/RemotePayloadProcessor.java @@ -95,7 +95,7 @@ private boolean sendPayload(Payload payload) { HttpResponse response = client.send(request, HttpResponse.BodyHandlers.ofString()); if (response.statusCode() != 200) { - logger.warn("Processing {} with request {} didn't succeed: {}", payload, payloadContent, response); + logger.warn("Processing {} didn't succeed: {}", payload, response); } } catch (Throwable e) { logger.error("An error occurred while sending payload {} to {}: {}", payload, uri, e.getCause());