From 8df9f4afb031ff539a217f90a84a349976d48e5b Mon Sep 17 00:00:00 2001 From: luxin Date: Mon, 22 Jan 2018 20:03:22 +0800 Subject: Add ResponseContent into log info Change-Id: Ib796ba62de16905028825793b5868d6b31ec998d Issue-ID: VFC-672 Signed-off-by: luxin --- .../java/org/onap/vfc/nfvo/resmanagement/common/util/RestfulUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ResmanagementService/service/src') diff --git a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/RestfulUtil.java b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/RestfulUtil.java index 41ce7db..a8f34ce 100644 --- a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/RestfulUtil.java +++ b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/RestfulUtil.java @@ -220,7 +220,8 @@ public class RestfulUtil { } catch(ServiceException e) { LOGGER.error("function=restfulResponse, get restful response catch exception {} ", e); } - LOGGER.warn("function=restfulResponse, response status is {} ", rsp.getStatus()); + LOGGER.warn("function=restfulResponse, response status is {}, context is {} ", rsp.getStatus(), + rsp.getResponseContent()); return rsp; } -- cgit 1.2.3-korg