diff options
author | Avdhut Kholkar <avdhut.kholkar@amdocs.com> | 2019-10-29 03:56:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-10-29 03:56:39 +0000 |
commit | 53b6e1a6cea267a6ad48c1accc3371dd6dab4112 (patch) | |
tree | ef0db4c68f2fb4bb8b29ca0f4effa0f6e8678b80 | |
parent | 5584d658b6571124055dd63545f98aee3c0f9325 (diff) | |
parent | 00c3298be8782d474b8e1a09e6391ffd35bf7c06 (diff) |
Merge "Added log line to indicate empty entity on responses in payload filter "
-rw-r--r-- | reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/PayloadLoggingClientFilter.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/PayloadLoggingClientFilter.java b/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/PayloadLoggingClientFilter.java index 88c95aa..9b7fb5b 100644 --- a/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/PayloadLoggingClientFilter.java +++ b/reference/logging-filter/logging-filter-base/src/main/java/org/onap/logging/filter/base/PayloadLoggingClientFilter.java @@ -108,6 +108,8 @@ public class PayloadLoggingClientFilter implements ClientRequestFilter, ClientRe final StringBuilder sb = new StringBuilder(); responseContext.setEntityStream(logInboundEntity(sb, responseContext.getEntityStream(), DEFAULT_CHARSET)); logger.debug(sb.toString()); + } else { + logger.debug("Response was returned with an empty entity."); } } |