Add ResponseContent into log info 83/28783/1
authorluxin <luxin7@huawei.com>
Mon, 22 Jan 2018 12:03:22 +0000 (20:03 +0800)
committerluxin <luxin7@huawei.com>
Mon, 22 Jan 2018 12:04:12 +0000 (20:04 +0800)
Change-Id: Ib796ba62de16905028825793b5868d6b31ec998d
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/RestfulUtil.java

index 41ce7db..a8f34ce 100644 (file)
@@ -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;
     }