summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/nsa/dmaap/util/ContentLengthInterceptor.java3
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());