From: luxin Date: Mon, 22 Jan 2018 12:03:22 +0000 (+0800) Subject: Add ResponseContent into log info X-Git-Tag: v1.1.0~42 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=8df9f4afb031ff539a217f90a84a349976d48e5b;p=vfc%2Fnfvo%2Fresmanagement.git Add ResponseContent into log info Change-Id: Ib796ba62de16905028825793b5868d6b31ec998d Issue-ID: VFC-672 Signed-off-by: luxin --- 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; }