diff options
author | varun gudisena <vg411h@att.com> | 2017-09-22 23:56:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-22 23:56:12 +0000 |
commit | 9d7917fa54283080f8d6fbc02a7e5bdf6b750272 (patch) | |
tree | 72dc4655478f4ef06456dd5e24c09243cd7416eb /src | |
parent | 7d7a85e0dc044f052c5828b66dcb4e398cb91dff (diff) | |
parent | 5c83a4a1600b42275c0cafb33669ccac7d74014d (diff) |
Merge "Fix for Sonar blocker issues"
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/att/nsa/dmaap/util/ContentLengthInterceptor.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/att/nsa/dmaap/util/ContentLengthInterceptor.java b/src/main/java/com/att/nsa/dmaap/util/ContentLengthInterceptor.java index fe1c768..7b0dda1 100644 --- a/src/main/java/com/att/nsa/dmaap/util/ContentLengthInterceptor.java +++ b/src/main/java/com/att/nsa/dmaap/util/ContentLengthInterceptor.java @@ -43,7 +43,6 @@ public class ContentLengthInterceptor implements AjscInterceptor{ private String defLength; - //private Logger log = Logger.getLogger(ContentLengthInterceptor.class.toString()); private static final EELFLogger log = EELFManager.getInstance().getLogger(ContentLengthInterceptor.class); @@ -97,7 +96,7 @@ public class ContentLengthInterceptor implements AjscInterceptor{ log.error("message size is greater then default"+e.getMessage()); ErrorResponse errRes = new ErrorResponse(HttpStatus.SC_REQUEST_TOO_LONG, DMaaPResponseCode.MSG_SIZE_EXCEEDS_MSG_LIMIT.getResponseCode(), System.getProperty("msg_size_exceeds") - + jsonObj.toString()); + + e.toString()); log.info(errRes.toString()); |