Skip to content

Commit 6ca9ad6

Browse files
committed
GH-1157 Fix JSON logging in AWS
Resolves #1157
1 parent 75cfd19 commit 6ca9ad6

File tree

1 file changed

+1
-2
lines changed
  • spring-cloud-function-context/src/main/java/org/springframework/cloud/function/utils

1 file changed

+1
-2
lines changed

spring-cloud-function-context/src/main/java/org/springframework/cloud/function/utils/JsonMasker.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import java.util.TreeSet;
3030

3131
import com.fasterxml.jackson.databind.ObjectMapper;
32-
import com.fasterxml.jackson.databind.SerializationFeature;
3332
import org.apache.commons.logging.Log;
3433
import org.apache.commons.logging.LogFactory;
3534

@@ -53,7 +52,7 @@ public final class JsonMasker {
5352

5453
private JsonMasker() {
5554
this.keysToMask = loadKeys();
56-
this.mapper = new JacksonMapper(new ObjectMapper().enable(SerializationFeature.INDENT_OUTPUT));
55+
this.mapper = new JacksonMapper(new ObjectMapper());
5756

5857
}
5958

0 commit comments

Comments
 (0)