summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service/src/main
diff options
context:
space:
mode:
authorluxin <luxin7@huawei.com>2018-01-22 20:03:22 +0800
committerluxin <luxin7@huawei.com>2018-01-22 20:04:12 +0800
commit8df9f4afb031ff539a217f90a84a349976d48e5b (patch)
tree77859d10e875d4da10421bd24b647b0cdd0cfa92 /ResmanagementService/service/src/main
parent0d0965f0a157faf0ad21f125425ae3a57bb0c825 (diff)
Add ResponseContent into log info
Change-Id: Ib796ba62de16905028825793b5868d6b31ec998d Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
Diffstat (limited to 'ResmanagementService/service/src/main')
-rw-r--r--ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/RestfulUtil.java3
1 files changed, 2 insertions, 1 deletions
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;
}