diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-11-03 14:29:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-11-03 14:29:29 +0000 |
commit | ada3bb2cc99f741504476c7f43cc20f8dacf23e3 (patch) | |
tree | fb20195de3efced1e9bfe324ee98c6641fdfb9ce /controlloop/common/model-impl/aai/src/main/java | |
parent | 08b707515f83f120408974454c0e0e5157d31ffc (diff) | |
parent | c893bd43f01ad14235079105ffc380bab7b077c3 (diff) |
Merge "Made network.log output more verbose."
Diffstat (limited to 'controlloop/common/model-impl/aai/src/main/java')
-rw-r--r-- | controlloop/common/model-impl/aai/src/main/java/org/onap/policy/aai/AAIManager.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/controlloop/common/model-impl/aai/src/main/java/org/onap/policy/aai/AAIManager.java b/controlloop/common/model-impl/aai/src/main/java/org/onap/policy/aai/AAIManager.java index e22fe00e3..c92ea775b 100644 --- a/controlloop/common/model-impl/aai/src/main/java/org/onap/policy/aai/AAIManager.java +++ b/controlloop/common/model-impl/aai/src/main/java/org/onap/policy/aai/AAIManager.java @@ -62,7 +62,7 @@ public final class AAIManager { if (httpDetails.b != null) { try { AAINQResponse response = Serialization.gsonPretty.fromJson(httpDetails.b, AAINQResponse.class); - netLogger.info("[IN|{}|{}|]{}{}", "AAI", url, System.lineSeparator(), response.toString()); + netLogger.info("[IN|{}|{}|]{}{}", "AAI", url, System.lineSeparator(), httpDetails.b); return response; } catch (JsonSyntaxException e) { logger.error("postQuery threw: ", e); @@ -99,7 +99,7 @@ public final class AAIManager { if (httpDetailsGet.a == 200) { try { responseGet = Serialization.gsonPretty.fromJson(httpDetailsGet.b, AAIGETVserverResponse.class); - netLogger.info("[IN|{}|{}|]{}{}", "AAI", urlGet, System.lineSeparator(), responseGet.toString()); + netLogger.info("[IN|{}|{}|]{}{}", "AAI", urlGet, System.lineSeparator(), httpDetailsGet.b); return responseGet; } catch (JsonSyntaxException e) { logger.error("postQuery threw: ", e); @@ -140,7 +140,7 @@ public final class AAIManager { if (httpDetailsGet.a == 200) { try { responseGet = Serialization.gsonPretty.fromJson(httpDetailsGet.b, AAIGETVnfResponse.class); - netLogger.info("[IN|{}|{}|]{}{}", "AAI", urlGet, System.lineSeparator(), responseGet.toString()); + netLogger.info("[IN|{}|{}|]{}{}", "AAI", urlGet, System.lineSeparator(), httpDetailsGet.b); return responseGet; } catch (JsonSyntaxException e) { logger.error("postQuery threw: ", e); @@ -182,7 +182,7 @@ public final class AAIManager { if (httpDetailsGet.a == 200) { try { responseGet = Serialization.gsonPretty.fromJson(httpDetailsGet.b, AAIGETVnfResponse.class); - netLogger.info("[IN|{}|{}|]{}{}", "AAI", urlGet, System.lineSeparator(), responseGet.toString()); + netLogger.info("[IN|{}|{}|]{}{}", "AAI", urlGet, System.lineSeparator(), httpDetailsGet.b); return responseGet; } catch (JsonSyntaxException e) { logger.error("postQuery threw: ", e); |