Skip to content

Commit 0e6468c

Browse files
committed
Changed log message severity in setCharacterEncoding to debug to address issue #261
1 parent 2d16463 commit 0e6468c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet/AwsProxyHttpServletRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ public void setCharacterEncoding(String s)
366366
throws UnsupportedEncodingException {
367367
String currentContentType = request.getMultiValueHeaders().getFirst(HttpHeaders.CONTENT_TYPE);
368368
if (currentContentType == null || "".equals(currentContentType)) {
369-
log.error("Called set character encoding to " + SecurityUtils.crlf(s) + " on a request without a content type. Character encoding will not be set");
369+
log.debug("Called set character encoding to " + SecurityUtils.crlf(s) + " on a request without a content type. Character encoding will not be set");
370370
return;
371371
}
372372

0 commit comments

Comments
 (0)